OpenAIContentPart
Represents a content part that can be used within OpenAI chat completion APIs. This is a sealed interface that defines various types of content components, like text, images, audio, and files, enabling diverse inputs and outputs in the API.
Inheritors
Types
Link copied to clipboard
Audio content part in the OpenAI chat completion API.
Link copied to clipboard
File content part in the OpenAI chat completion API.
Link copied to clipboard
Image content part in the OpenAI chat completion API.
Link copied to clipboard
An image URL configuration for image content in the OpenAI chat completion API.
Link copied to clipboard
Represents the audio data and format configuration for audio content in the OpenAI chat completion API.
Link copied to clipboard
Text content part in the OpenAI chat completion API.