#include <yarp/dev/LLM_Message.h>
Inheritance diagram for yarp::dev::LLM_Message:Public Member Functions | |
| LLM_Message () | |
| LLM_Message (const std::string &type, const std::string &content, const std::vector< std::string > ¶meters, const std::vector< std::string > &arguments) | |
| virtual | ~LLM_Message () |
Public Member Functions inherited from yarp::dev::LLM_MessageData | |
| LLM_MessageData ()=default | |
| LLM_MessageData (const std::string &type, const std::string &content, const std::vector< std::string > ¶meters, const std::vector< std::string > &arguments) | |
| bool | read (yarp::os::idl::WireReader &reader) override |
| bool | read (yarp::os::ConnectionReader &connection) override |
| Read this object from a network connection. | |
| bool | write (const yarp::os::idl::WireWriter &writer) const override |
| bool | write (yarp::os::ConnectionWriter &connection) const override |
| Write this object to a network connection. | |
| std::string | toString () const |
Public Member Functions inherited from yarp::os::idl::WirePortable | |
| virtual bool | readBare (yarp::os::ConnectionReader &reader) |
| virtual bool | writeBare (yarp::os::ConnectionWriter &writer) const |
| virtual bool | readBottle (yarp::os::ConnectionReader &reader) |
| virtual bool | writeBottle (yarp::os::ConnectionWriter &writer) const |
Public Member Functions inherited from yarp::os::Portable | |
| virtual Type | getType () const |
Public Member Functions inherited from yarp::os::PortReader | |
| virtual | ~PortReader () |
| Destructor. | |
| virtual Type | getReadType () const |
Public Member Functions inherited from yarp::os::PortWriter | |
| virtual | ~PortWriter () |
| Destructor. | |
| virtual void | onCompletion () const |
| This is called when the port has finished all writing operations. | |
| virtual void | onCommencement () const |
| This is called when the port is about to begin writing operations. | |
| virtual yarp::os::Type | getWriteType () const |
Additional Inherited Members | |
Public Types inherited from yarp::dev::LLM_MessageData | |
| typedef yarp::os::idl::Unwrapped< LLM_MessageData > | unwrapped |
Static Public Member Functions inherited from yarp::os::Portable | |
| static bool | copyPortable (const PortWriter &writer, PortReader &reader) |
| Copy one portable to another, via writing and reading. | |
Public Attributes inherited from yarp::dev::LLM_MessageData | |
| std::string | type {} |
| type of message (can be prompt, assistant, function, ...) | |
| std::string | content {} |
| content of the message | |
| std::vector< std::string > | parameters {} |
| possible parameters | |
| std::vector< std::string > | arguments {} |
| possible arguments of the parameters | |
Definition at line 13 of file LLM_Message.h.
| LLM_Message::LLM_Message | ( | ) |
Definition at line 10 of file LLM_Message.cpp.
| LLM_Message::LLM_Message | ( | const std::string & | type, |
| const std::string & | content, | ||
| const std::vector< std::string > & | parameters, | ||
| const std::vector< std::string > & | arguments | ||
| ) |
Definition at line 14 of file LLM_Message.cpp.
|
virtual |
Definition at line 22 of file LLM_Message.cpp.