Skip to main content

Crate synaptic_together

Crate synaptic_together 

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.
TogetherChatModel
TogetherConfig

Enums§

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.
TogetherModel

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.