Agents 0.0.2
Edge AI Agents SDK
|
Message in a conversation. More...
#include <types.h>
Public Types | |
enum class | Role { SYSTEM , USER , ASSISTANT , TOOL } |
The role of the message. More... | |
Public Attributes | |
Role | role |
The role of the message. | |
String | content |
The content of the message. | |
std::optional< String > | name |
The name of the message. | |
std::optional< String > | tool_call_id |
The tool call id of the message. | |
std::vector< std::pair< String, JsonObject > > | tool_calls |
The tool calls that were made. | |
Message in a conversation.
|
strong |
The role of the message.
Enumerator | |
---|---|
SYSTEM | System role message. |
USER | User role message. |
ASSISTANT | Assistant role message. |
TOOL | Tool role message. |