Skip to main content

Crate synaptic_deepseek

Crate synaptic_deepseek 

Source

Structs§

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

Enums§

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.

Traits§

ChatModel
The core trait for language model providers. Implementations provide chat() for single responses and optionally stream_chat() for streaming.

Type Aliases§

ChatStream
Type alias for a pinned, boxed async stream of AIMessageChunk results.