Uses of Package
org.springframework.ai.openai.api
Packages that use org.springframework.ai.openai.api
Package
Description
-
Classes in org.springframework.ai.openai.api used by org.springframework.ai.openaiClassDescriptionSingle class implementation of the OpenAI Chat Completion API and OpenAI Embedding API.Parameters for audio output.OpenAI Chat Completion Models.Represents a tool the model may call.Turn audio into text or text into audio.The format to audio in.The voice to use for synthesis.The format of the transcript and translation outputs, in one of these options: json, text, srt, verbose_json, or vtt.OpenAI Image API.OpenAI Moderation API.An object specifying the format that the model must output.
-
Classes in org.springframework.ai.openai.api used by org.springframework.ai.openai.apiClassDescriptionSingle class implementation of the OpenAI Chat Completion API and OpenAI Embedding API.Represents a chat completion response returned by model, based on the provided input.Chat completion choice.Represents a streamed chunk of a chat completion response returned by model, based on the provided input.Chat completion choice.The reason the model stopped generating tokens.Message comprising the conversation.Audio response from the model.The function definition.An array of content parts with a defined type.Shortcut constructor for an image content.The role of the author of this message.The relevant tool call.Creates a model response for the given chat conversation.Parameters for audio output.Specifies the output audio format.Specifies the voice type.OpenAI Chat Completion Models.Represents an embedding vector returned by embedding endpoint.List of multiple embedding responses.OpenAI Embeddings Models: Embeddings.Creates an embedding vector representing the input text.Represents a tool the model may call.Function definition.Create a tool of type 'function' and the given function definition.Log probability information for the choice.Message content tokens with log probability information.The most likely tokens and their log probability, at this token position.The type of modality for the model completion.Usage statistics for the completion request.Breakdown of tokens used in a completion.Breakdown of tokens used in the promptTurn audio into text or text into audio.Builder to construct
OpenAiAudioApi
instance.Request to generates audio from the input text.The format to audio in.Builder for the SpeechRequest.The voice to use for synthesis.Segment of the transcribed text and its corresponding details.Extracted word and it corresponding timestamps.Request to transcribe an audio file to text.The format of the transcript and translation outputs, in one of these options: json, text, srt, verbose_json, or vtt.Request to translate an audio file to English.TTS is an AI model that converts text to natural sounding spoken text.Whisper is a general-purpose speech recognition model.OpenAI Image API.Builder to constructOpenAiImageApi
instance.OpenAI Image API model.OpenAI Moderation API.Builder to constructOpenAiModerationApi
instance.An object specifying the format that the model must output.JSON schema object that describes the format of the JSON object. -
Classes in org.springframework.ai.openai.api used by org.springframework.ai.openai.metadata.audioClassDescriptionThe Transcription Object represents a verbose json transcription response returned by model, based on the provided input.