|
Agents 1.4.0
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. | |
| std::string | content |
| The content of the message. | |
| std::optional< std::string > | name = std::nullopt |
| The name of the message. | |
| std::optional< std::string > | tool_call_id = std::nullopt |
| The tool call id of the message. | |
| std::vector< std::pair< std::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. |