Expand description
Response types for LLM completions.
Provides OpenAI-compatible response structures.
Structs§
- Choice
Delta - A delta in a streaming choice.
- Completion
Choice - A single completion choice.
- Completion
Chunk - A chunk of a streaming completion response.
- Completion
Response - A completion response from an LLM provider.
- Healing
Metadata - Metadata about healing/coercion applied to a response.
- Message
Delta - Incremental message content in a stream.
- Usage
- Token usage statistics.
Enums§
- Finish
Reason - Reason why a completion finished.