core/models/rich_message library

Classes

ChainOfThoughtStepType
A single discrete step within a Chain of Thought.
ChainOfThoughtType
A collection of steps representing the AI's "Chain of Thought."
CheckpointType
A marker indicating the state of the conversation at a specific point in time.
ConfirmationType
Represents the approval state for an action that requires user consent.
ContextDataType
Contextual metadata including the model used and detailed token usage.
MessageVersionType
Represents a specific historical iteration of a message's content.
PlanType
The high-level plan the AI generated before executing its response.
ReasoningType
Contains the model's reasoning content and processing time.
RichMessage
The primary data model for advanced AI interactions.
SimpleMessageType
A simplified message structure used within the response queue.
SourceType
Metadata for a source citation used in a grounded AI response.
TaskType
A key-value pair representing a task identified by the AI.
ToolCallType
Details of an AI tool or function call.
Usage
Detailed token usage statistics for a single request/response cycle.

Typedefs

SuggestionType = String
A string-based suggestion for a user's next message.