Expand description
Provides chat-related functionality, including ChatMessage, ChatSession, and Role.
§Chat Module
This module provides the data structures for managing chat conversations. It defines the roles in a conversation, the structure of a chat message, and the chat session that holds the conversation history.
Structs§
- Chat
Message - Represents a single message in a chat conversation.
- Chat
Session - Represents a chat session, including the conversation history and metadata.
- Function
Call - Represents a function call to be executed by a tool.
- Tool
Call - Represents a tool call requested by the assistant.
Enums§
- Role
- Represents the role of a participant in a chat conversation.