Expand description
Common data models for provider-agnostic LLM requests and responses.
Structs§
- General
Request - Provider-agnostic request structure. Contains only model behavior parameters, not API configuration.
- Response
- Provider-agnostic response structure.
- Usage
- Token usage information.
Enums§
- Finish
Reason - Reason for finishing the response generation.
- Media
Type - Message
- A single message in a conversation.
- Part
- A part of a message content.
- Role
- Role of the message sender.