Iragent
This project is about using agents as simple as possible with small and large language models
|
This is the message class and it's a wrapper class around messages between user and agent. More...
Public Member Functions | |
None | __init__ (self, str sender=None, str reciever=None, str content=None, str intent=None, Dict metadata=None) |
__repr__ (self) | |
in this method we changed the way we want to represent Message object | |
Public Attributes | |
sender = sender | |
This is the one who sends the message. | |
reciever = reciever | |
This is the one who get's the message. | |
content = content | |
This is the cotnent of the message. | |
intent = intent | |
No explanation yet. | |
metadata = metadata or {} | |
It's contain some extra information like what this message replies to. | |
This is the message class and it's a wrapper class around messages between user and agent.
None iragent.message.Message.__init__ | ( | self, | |
str | sender = None, | ||
str | reciever = None, | ||
str | content = None, | ||
str | intent = None, | ||
Dict | metadata = None ) |
iragent.message.Message.__repr__ | ( | self | ) |
in this method we changed the way we want to represent Message object
iragent.message.Message.content = content |
This is the cotnent of the message.
iragent.message.Message.intent = intent |
No explanation yet.
iragent.message.Message.metadata = metadata or {} |
It's contain some extra information like what this message replies to.
iragent.message.Message.reciever = reciever |
This is the one who get's the message.
iragent.message.Message.sender = sender |
This is the one who sends the message.