Expand description
Core message types shared across all providers.
A Message represents a single turn in a conversation. Providers are
responsible for converting these generic types into their API-specific format
via From/TryFrom.
Structs§
- Text
- Plain text content.
- Tool
Call - A tool invocation requested by the model.
- Tool
Result - The result of executing a tool, sent back to the model.
Enums§
- Assistant
Content - Content that can appear in an assistant-turn message.
- Message
- A single turn in a conversation.
- User
Content - Content that can appear in a user-turn message.