Structs§
- Chat
Request - A request to a chat model containing messages, optional tool definitions, and tool choice configuration.
- Chat
Response - A response from a chat model containing the AI message and optional token usage statistics.
- Mistral
Chat Model - Mistral
Config - Open
AiEmbeddings - Open
AiEmbeddings Config
Enums§
- Message
- Represents a chat message. Tagged enum with System, Human, AI, and Tool variants.
- Mistral
Model - Synaptic
Error - Unified error type for the Synaptic framework with variants covering all subsystems.
Traits§
- Chat
Model - The core trait for language model providers. Implementations provide
chat()for single responses and optionallystream_chat()for streaming.
Functions§
Type Aliases§
- Chat
Stream - Type alias for a pinned, boxed async stream of
AIMessageChunkresults.