Skip to main contentCrate synaptic_deepseek
Source - ChatRequest
- A request to a chat model containing messages, optional tool definitions, and tool choice configuration.
- ChatResponse
- A response from a chat model containing the AI message and optional token usage statistics.
- DeepSeekChatModel
- DeepSeekConfig
- DeepSeekModel
- Message
- Represents a chat message. Tagged enum with System, Human, AI, and Tool variants.
- SynapticError
- Unified error type for the Synaptic framework with variants covering all subsystems.
- ChatModel
- The core trait for language model providers. Implementations provide
chat() for single responses and optionally stream_chat() for streaming.
- ChatStream
- Type alias for a pinned, boxed async stream of
AIMessageChunk results.