Structs§
- Embed
Request - Embedding
- Message
- ModelId
- Request
- Response
- Tool
Definition - A provider-agnostic tool the model may call.
input_schemais a JSON Schema describing the tool’s arguments. - ToolUse
- A tool call the model requested.
- Usage
Enums§
- Content
Block - A single piece of a message’s content. Messages are sequences of blocks so that a turn can mix text with tool-use requests (assistant) and tool results (user) — the shape required for provider tool/function calling.
- Finish
Reason - Role
- Stream
Chunk
Type Aliases§
- Stream
Response - Convenience alias used throughout the crate.