Skip to main content

Module response

Module response 

Source
Expand description

Response types for LLM completions.

Provides OpenAI-compatible response structures.

Structs§

ChoiceDelta
A delta in a streaming choice.
CompletionChoice
A single completion choice.
CompletionChunk
A chunk of a streaming completion response.
CompletionResponse
A completion response from an LLM provider.
HealingMetadata
Metadata about healing/coercion applied to a response.
MessageDelta
Incremental message content in a stream.
Usage
Token usage statistics.

Enums§

FinishReason
Reason why a completion finished.