|
pulsatrix 1.1.0
|
One turn of a conversation. More...
#include <message.hpp>
Public Types | |
| enum class | Role { User , Assistant } |
Public Member Functions | |
| std::string | text () const |
| The text blocks joined, without thinking or tool calls. | |
| std::vector< const ContentBlock * > | tool_uses () const |
| The tool calls, in order. | |
Static Public Member Functions | |
| static Message | User (std::string text) |
| static Message | Assistant (std::string text) |
Public Attributes | |
| Role | role = Role::User |
| std::vector< ContentBlock > | content |
One turn of a conversation.
|
strong |
|
static |
| std::string pulsatrix::orch::Message::text | ( | ) | const |
The text blocks joined, without thinking or tool calls.
| std::vector< const ContentBlock * > pulsatrix::orch::Message::tool_uses | ( | ) | const |
The tool calls, in order.
|
static |
| std::vector<ContentBlock> pulsatrix::orch::Message::content |
| Role pulsatrix::orch::Message::role = Role::User |