Expand description
Re-exported normalized LLM request data types.
Structs§
- Annotated
LlmRequest - Structured view of an LLM request, produced by a Codec from opaque
LlmRequestcontent. - Function
Call - A function call within a tool call.
- Function
Definition - A function definition within a tool definition.
- Generation
Params - Normalized generation parameters across providers.
- Open
AiImage Url - OpenAI image URL payload.
- Provider
Native Component - Lossless provider-native component embedded in the annotated request.
- Tool
Call - A tool call requested by the assistant.
- Tool
Choice Function - A specific tool choice that forces a named function.
- Tool
Choice Function Name - The name component of a specific tool choice.
Enums§
- ApiSpecific
Request - API-specific request fields that do not have portable semantics.
- Content
Part - A single content part within a multimodal message.
- Message
- A single message in a conversation, tagged by role.
- Message
Content - Message content: either a plain string or multimodal parts array.
- Tool
Choice - Tool choice control: how the model should use available tools.
- Tool
Definition - A tool definition available to the model.
Constants§
- ANNOTATED_
LLM_ REQUEST_ SCHEMA - Versioned JSON envelope schema for
AnnotatedLlmRequest.