Package-level declarations
Types
Represents a request to create a response in the OpenAI API.
Details about why the response is incomplete.
Represents an audio input to the model.
Sealed interface representing input content elements in the OpenAI responses API. This is the base interface for all input content types.
Serializer for InputContent that handles polymorphic serialization based on the "type" field.
Represents an image input to the model.
Represents a message input resource in the OpenAI API.
Represents a text input to the model.
Represents a response from the OpenAI API.
Represents the text configuration for the response.
Represents the format configuration for text output.
The truncation strategy to use for the model response.
Represents token usage details including input tokens, output tokens, a breakdown of output tokens, and the total tokens used.