Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AAC - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- AAC - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
- AbstractBuilder() - Constructor for class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- AbstractBuilder() - Constructor for class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- AbstractOpenAiOptions - Class in org.springframework.ai.openai
- AbstractOpenAiOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>) - Constructor for class org.springframework.ai.openai.AbstractOpenAiOptions
- AbstractOpenAiOptions.AbstractBuilder<O extends AbstractOpenAiOptions,
B extends AbstractOpenAiOptions.AbstractBuilder<O, B>> - Class in org.springframework.ai.openai - additionalProperties() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Returns the value of the
additionalPropertiesrecord component. - additionalProperties(Map<String, Object>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- additionalProperty(String, Object) - Method in class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- AI_METADATA_STRING - Static variable in class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
- ALLOY - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- ALLOY - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- apiKey - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- apiKey - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- apiKey(String) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- apiKey(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- apiKey(ApiKey) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
-
Sets the API key using an
ApiKeyinstance. - apiKey(ApiKey) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
-
Sets the API key using an
ApiKeyinstance. - ASH - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- ASH - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- AudioParameters(OpenAiChatOptions.AudioParameters.Voice, OpenAiChatOptions.AudioParameters.AudioResponseFormat) - Constructor for record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
-
Creates an instance of a
AudioParametersrecord class. - azure(Boolean) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- azure(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- azureOpenAIServiceVersion(AzureOpenAIServiceVersion) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- azureOpenAIServiceVersion(AzureOpenAIServiceVersion) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
B
- BALLAD - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- BALLAD - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- BASE64 - Enum constant in enum class org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat
- baseUrl - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- baseUrl - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- baseUrl(String) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- baseUrl(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- build() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- build() - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel.Builder
-
Builds the OpenAiAudioSpeechModel instance.
- build() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel.Builder
-
Builds a new
OpenAiAudioTranscriptionModelinstance. - build() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Builds a new
OpenAiChatModelinstance. - build() - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- build() - Method in class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiImageModel.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiModerationModel.Builder
- build() - Method in class org.springframework.ai.openai.OpenAiModerationOptions.Builder
- builder() - Static method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient
- builder() - Static method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
-
Creates a new builder instance with default configuration.
- builder() - Static method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- builder() - Static method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel
-
Creates a new builder for
OpenAiAudioTranscriptionModel. - builder() - Static method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- builder() - Static method in class org.springframework.ai.openai.OpenAiChatModel
-
Creates a new builder for
OpenAiChatModel. - builder() - Static method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- builder() - Static method in class org.springframework.ai.openai.OpenAiChatOptions
- builder() - Static method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
- builder() - Static method in class org.springframework.ai.openai.OpenAiEmbeddingModel
- builder() - Static method in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- builder() - Static method in class org.springframework.ai.openai.OpenAiImageModel
- builder() - Static method in class org.springframework.ai.openai.OpenAiImageOptions
- builder() - Static method in class org.springframework.ai.openai.OpenAiModerationModel
- builder() - Static method in class org.springframework.ai.openai.OpenAiModerationOptions
- Builder() - Constructor for class org.springframework.ai.openai.OpenAiChatOptions.Builder
- Builder() - Constructor for class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- Builder() - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
C
- call(String) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
- call(AudioTranscriptionPrompt) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel
- call(TextToSpeechPrompt) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
- call(Prompt) - Method in class org.springframework.ai.openai.OpenAiChatModel
- call(EmbeddingRequest) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel
- call(ImagePrompt) - Method in class org.springframework.ai.openai.OpenAiImageModel
- call(ModerationPrompt) - Method in class org.springframework.ai.openai.OpenAiModerationModel
- chunkingStrategy(TranscriptionCreateParams.ChunkingStrategy) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
-
Controls how the audio is cut into chunks.
- clone() - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- close() - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient
- combineWith(ChatOptions.Builder<?>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- CORAL - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- CORAL - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- credential - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- credential - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- credential(Credential) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- credential(Credential) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- customHeaders - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- customHeaders - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- customHeaders(Map<String, String>) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- customHeaders(Map<String, String>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- customize(SpringAiOpenAiHttpClient.Builder) - Method in interface org.springframework.ai.openai.http.okhttp.OpenAiHttpClientBuilderCustomizer
-
Customize the
SpringAiOpenAiHttpClient.Builderprior to building the underlying OkHttp client.
D
- DEFAULT_CHAT_MODEL - Static variable in class org.springframework.ai.openai.OpenAiChatOptions
- DEFAULT_EMBEDDING_MODEL - Static variable in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- DEFAULT_IMAGE_MODEL - Static variable in class org.springframework.ai.openai.OpenAiImageOptions
- DEFAULT_MAX_RETRIES - Static variable in class org.springframework.ai.openai.AbstractOpenAiOptions
-
Default maximum number of retries for the OpenAI client.
- DEFAULT_MODERATION_MODEL - Static variable in class org.springframework.ai.openai.OpenAiModerationOptions
-
Default moderation model.
- DEFAULT_RESPONSE_FORMAT - Static variable in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- DEFAULT_RESPONSE_FORMAT - Static variable in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
-
Default response format.
- DEFAULT_SPEECH_MODEL - Static variable in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- DEFAULT_SPEED - Static variable in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- DEFAULT_TIMEOUT - Static variable in class org.springframework.ai.openai.AbstractOpenAiOptions
-
Default request timeout for the OpenAI client.
- DEFAULT_TRANSCRIPTION_MODEL - Static variable in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
-
Default transcription model (Whisper 1).
- DEFAULT_VOICE - Static variable in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- deploymentName(String) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- deploymentName(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- detectModelProvider(boolean, boolean, String, String, AzureOpenAIServiceVersion) - Static method in class org.springframework.ai.openai.setup.OpenAiSetup
- diarizedJsonWorkaroundEnabled(boolean) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
-
Enables or disables the
diarized_jsonmisclassification workaround. - dimensions(Integer) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- dispatcherExecutorService(ExecutorService) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
-
Sets the executor used by the OkHttp dispatcher.
E
- ECHO - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- ECHO - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- embed(Document) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel
- encodingFormat(OpenAiEmbeddingOptions.EncodingFormat) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- equals(Object) - Method in class org.springframework.ai.openai.metadata.OpenAiImageGenerationMetadata
- equals(Object) - Method in class org.springframework.ai.openai.metadata.OpenAiImageResponseMetadata
- equals(Object) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- equals(Object) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- equals(Object) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- equals(Object) - Method in class org.springframework.ai.openai.OpenAiChatOptions
- equals(Object) - Method in class org.springframework.ai.openai.OpenAiImageOptions
- equals(Object) - Method in class org.springframework.ai.openai.OpenAiModerationOptions
- equals(Object) - Method in record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Indicates whether some other object is "equal to" this one.
- execute(HttpRequest, RequestOptions) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient
- executeAsync(HttpRequest, RequestOptions) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient
- extraBody - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- extraBody(Map<String, Object>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- extraBody(Map<String, Object>) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
F
- FABLE - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- FABLE - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- FLAC - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- FLAC - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
- FLOAT - Enum constant in enum class org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat
- format() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
-
Returns the value of the
formatrecord component. - from(OpenAiChatOptions.StreamOptions) - Method in class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- from(Headers) - Static method in class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
- from(EmbeddingCreateParams) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- from(ImagesResponse) - Static method in class org.springframework.ai.openai.metadata.OpenAiImageResponseMetadata
-
Creates metadata from an ImagesResponse.
- from(OpenAiAudioSpeechOptions) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- from(OpenAiAudioTranscriptionOptions) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- from(OpenAiEmbeddingOptions) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- from(OpenAiImageOptions) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- from(OpenAiModerationOptions) - Method in class org.springframework.ai.openai.OpenAiModerationOptions.Builder
G
- getApiKey() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getApiKey() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getBaseUrl() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getBaseUrl() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the frequency penalty parameter.
- getChunkingStrategy() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
-
Controls how the audio is cut into chunks when streaming or when the model benefits from voice-activity-detection-based chunking.
- getCreated() - Method in class org.springframework.ai.openai.metadata.OpenAiImageResponseMetadata
- getCredential() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getCredential() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getCustomHeaders() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getCustomHeaders() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getDefaultOptions() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getDefaultOptions() - Method in class org.springframework.ai.openai.OpenAiChatModel
-
Deprecated, for removal: This API element is subject to removal in a future version.use
OpenAiChatModel.getOptions()instead. - getDeploymentName() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
-
Alias for getAzureDeploymentName()
- getDeploymentName() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Alias for getAzureDeploymentName()
- getDimensions() - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- getDuration() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
-
Returns the audio duration in seconds, or
nullif not returned by the API. - getEmbeddingContent(Document) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel
- getEncodingFormat() - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- getExtraBody() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getExtraBody() - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- getFormat() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- getFrequencyPenalty() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getHeight() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getInput() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- getInstructions() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- getJsonSchema() - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- getKnownSpeakerNames() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
-
Speaker identifiers (up to 4) matching, positionally, the audio samples in
OpenAiAudioTranscriptionOptions.getKnownSpeakerReferences(). - getKnownSpeakerReferences() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
-
Audio samples (as data URLs, e.g.
- getLanguage() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
-
Returns the detected input language, or
nullif not returned by the API. - getLanguage() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- getLogitBias() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the logit bias map.
- getLogprobs() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets whether to return log probabilities.
- getMaxCompletionTokens() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the maximum number of completion tokens.
- getMaxRetries() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getMaxRetries() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getMaxTokens() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getMetadata() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the metadata map.
- getMicrosoftDeploymentName() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getMicrosoftDeploymentName() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getMicrosoftFoundryServiceVersion() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getMicrosoftFoundryServiceVersion() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getModel() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getModel() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- getModel() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getN() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the number of completions to generate.
- getN() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getOkHttpClient() - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient
- getOptions() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
- getOptions() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel
-
Gets the transcription options for this model.
- getOptions() - Method in class org.springframework.ai.openai.OpenAiChatModel
-
Gets the chat options for this model.
- getOptions() - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Gets the embedding options for this model.
- getOptions() - Method in class org.springframework.ai.openai.OpenAiImageModel
-
Gets the image options for this model.
- getOptions() - Method in class org.springframework.ai.openai.OpenAiModerationModel
- getOrganizationId() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getOrganizationId() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getOutputAudio() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the output audio parameters.
- getOutputModalities() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the output modalities.
- getOutputSchema() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getParallelToolCalls() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets whether to enable parallel tool calls.
- getPresencePenalty() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getPrompt() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- getPromptCacheKey() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the prompt cache key.
- getProxy() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getProxy() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getQuality() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getRateLimit() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
- getReasoningEffort() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the reasoning effort level.
- getRequestsLimit() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- getRequestsRemaining() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- getRequestsReset() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- getResponseFormat() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- getResponseFormat() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- getResponseFormat() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the response format configuration.
- getResponseFormat() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getRevisedPrompt() - Method in class org.springframework.ai.openai.metadata.OpenAiImageGenerationMetadata
-
Gets the revised prompt that was used for image generation.
- getSeed() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the random seed for deterministic generation.
- getSegments() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
-
Returns the segment-level transcription breakdown, or
nullif not returned by the API. - getServiceTier() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the service tier.
- getSize() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getSpeed() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- getStop() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the stop sequences.
- getStopSequences() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getStore() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets whether to store the conversation.
- getStreamOptions() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the stream options.
- getStrict() - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
-
Whether to enable strict schema adherence for JSON schema response format.
- getStrict() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets whether OpenAI Tool/Function calling strict mode is enabled.
- getStyle() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getTemperature() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- getTemperature() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getTimeout() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- getTimeout() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getTimestampGranularities() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- getTokensLimit() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- getTokensRemaining() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- getTokensReset() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- getToolCallbacks() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getToolChoice() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the tool choice configuration.
- getToolContext() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getTopK() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getTopLogprobs() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the number of top log probabilities to return.
- getTopP() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- getType() - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- getUsage() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
-
Returns the provider-native usage object for this transcription, or
nullif not returned by the API. - getUser() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the user identifier.
- getUser() - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- getUser() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getValue() - Method in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- getValue() - Method in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- getValue() - Method in enum class org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat
- getVerbosity() - Method in class org.springframework.ai.openai.OpenAiChatOptions
-
Gets the verbosity level.
- getVoice() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- getWidth() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- getWords() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
-
Returns the word-level timestamps, or
nullif not returned by the API. - GITHUB_MODELS - Enum constant in enum class org.springframework.ai.openai.setup.OpenAiSetup.ModelProvider
- gitHubModels(Boolean) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- gitHubModels(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
H
- hashCode() - Method in class org.springframework.ai.openai.metadata.OpenAiImageGenerationMetadata
- hashCode() - Method in class org.springframework.ai.openai.metadata.OpenAiImageResponseMetadata
- hashCode() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- hashCode() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- hashCode() - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- hashCode() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- hashCode() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.ai.openai.OpenAiImageOptions
- hashCode() - Method in class org.springframework.ai.openai.OpenAiModerationOptions
- height(Integer) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- hostnameVerifier(HostnameVerifier) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- httpClientBuilderCustomizer(OpenAiHttpClientBuilderCustomizer) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel.Builder
-
Registers an
OpenAiHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the OpenAI clients are constructed. - httpClientBuilderCustomizer(OpenAiHttpClientBuilderCustomizer) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel.Builder
-
Registers an
OpenAiHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the OpenAI clients are constructed. - httpClientBuilderCustomizer(OpenAiHttpClientBuilderCustomizer) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Registers an
OpenAiHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the OpenAI clients are constructed. - httpClientBuilderCustomizer(OpenAiHttpClientBuilderCustomizer) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
-
Registers an
OpenAiHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the OpenAI clients are constructed. - httpClientBuilderCustomizer(OpenAiHttpClientBuilderCustomizer) - Method in class org.springframework.ai.openai.OpenAiImageModel.Builder
-
Registers an
OpenAiHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the OpenAI clients are constructed. - httpClientBuilderCustomizer(OpenAiHttpClientBuilderCustomizer) - Method in class org.springframework.ai.openai.OpenAiModerationModel.Builder
-
Registers an
OpenAiHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the OpenAI clients are constructed. - httpClientBuilderCustomizers(List<OpenAiHttpClientBuilderCustomizer>) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel.Builder
-
Sets the full list of
customizersto apply, replacing any customizers registered earlier on this builder. - httpClientBuilderCustomizers(List<OpenAiHttpClientBuilderCustomizer>) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel.Builder
-
Sets the full list of
customizersto apply, replacing any customizers registered earlier on this builder. - httpClientBuilderCustomizers(List<OpenAiHttpClientBuilderCustomizer>) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Sets the full list of
customizersto apply, replacing any customizers registered earlier on this builder. - httpClientBuilderCustomizers(List<OpenAiHttpClientBuilderCustomizer>) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
-
Sets the full list of
customizersto apply, replacing any customizers registered earlier on this builder. - httpClientBuilderCustomizers(List<OpenAiHttpClientBuilderCustomizer>) - Method in class org.springframework.ai.openai.OpenAiImageModel.Builder
-
Sets the full list of
customizersto apply, replacing any customizers registered earlier on this builder. - httpClientBuilderCustomizers(List<OpenAiHttpClientBuilderCustomizer>) - Method in class org.springframework.ai.openai.OpenAiModerationModel.Builder
-
Sets the full list of
customizersto apply, replacing any customizers registered earlier on this builder.
I
- includeObfuscation() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Returns the value of the
includeObfuscationrecord component. - includeObfuscation(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- includeUsage() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Returns the value of the
includeUsagerecord component. - includeUsage(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions.Builder
- input(String) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- instructions(String) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
-
Sets control instructions for the voice delivery (e.g. tone, pace).
- interceptor(Interceptor) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
-
Registers an OkHttp
Interceptorto run at the end of the chain. - isDiarizedJsonWorkaroundEnabled() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
-
Whether the
diarized_jsonmisclassification workaround is applied. - isGitHubModels - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- isGitHubModels - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- isGitHubModels() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- isGitHubModels() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- isMicrosoftFoundry - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- isMicrosoftFoundry - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- isMicrosoftFoundry() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions
- isMicrosoftFoundry() - Method in class org.springframework.ai.openai.OpenAiChatOptions
J
- JSON_OBJECT - Enum constant in enum class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Type
-
Enables JSON mode, which guarantees the message the model generates is valid JSON.
- JSON_SCHEMA - Enum constant in enum class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Type
-
Enables Structured Outputs which guarantees the model will match your supplied JSON schema.
- jsonSchema(String) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Builder
K
- keepAliveDuration(Duration) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- knownSpeakerNames(List<String>) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
-
Speaker identifiers (up to 4), positionally matching
OpenAiAudioTranscriptionOptions.Builder.knownSpeakerReferences. - knownSpeakerReferences(List<String>) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
-
Audio samples (as data URLs) containing known speaker references, positionally matching
OpenAiAudioTranscriptionOptions.Builder.knownSpeakerNames.
L
- language(String) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- logitBias - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- logitBias(Map<String, Integer>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- logprobs - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- logprobs(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
M
- maxCompletionTokens - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- maxCompletionTokens(Integer) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- maxIdleConnections(Integer) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- maxRetries - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- maxRetries - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- maxRetries(Integer) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- maxRetries(Integer) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- maxTokens(Integer) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- merge(AudioTranscriptionOptions) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- merge(TextToSpeechOptions) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- merge(EmbeddingOptions) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- merge(ImageOptions) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- merge(ModerationOptions) - Method in class org.springframework.ai.openai.OpenAiModerationOptions.Builder
- metadata - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- metadata(Map<String, String>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- metadataMode(MetadataMode) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
- meterRegistry(MeterRegistry) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
-
Registers a meter registry to bind OkHttp connection-pool gauges (active/idle connections).
- meterRegistry(MeterRegistry) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
- meterTags(Iterable<Tag>) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
-
Tags applied to the connection-pool gauges registered with the
MeterRegistry. - MICROSOFT_FOUNDRY - Enum constant in enum class org.springframework.ai.openai.setup.OpenAiSetup.ModelProvider
- microsoftDeploymentName - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- microsoftDeploymentName - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- microsoftFoundry(Boolean) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- microsoftFoundry(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- microsoftFoundryServiceVersion - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- microsoftFoundryServiceVersion - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- microsoftFoundryServiceVersion(AzureOpenAIServiceVersion) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- microsoftFoundryServiceVersion(AzureOpenAIServiceVersion) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- model - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- model(String) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- MP3 - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- MP3 - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
- mutate() - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
-
Creates a builder initialized with this model's configuration.
- mutate() - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel
-
Creates a builder initialized with this model's configuration.
- mutate() - Method in class org.springframework.ai.openai.OpenAiChatOptions
- mutate() - Method in class org.springframework.ai.openai.OpenAiModerationModel
N
- n - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- n(Integer) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- n(Integer) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- NOVA - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- NOVA - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- NULL - Static variable in class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
O
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.openai.OpenAiImageModel.Builder
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
-
Registers the Micrometer observation registry used by the OkHttp interceptor.
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Sets the observation registry for metrics and tracing.
- ONYX - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- ONYX - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- OPEN_AI - Enum constant in enum class org.springframework.ai.openai.setup.OpenAiSetup.ModelProvider
- OpenAiAudioSpeechModel - Class in org.springframework.ai.openai
-
OpenAI audio speech client implementation using the OpenAI Java SDK.
- OpenAiAudioSpeechModel.Builder - Class in org.springframework.ai.openai
-
Builder for creating OpenAiAudioSpeechModel instances.
- OpenAiAudioSpeechOptions - Class in org.springframework.ai.openai
-
Configuration options for OpenAI text-to-speech using the OpenAI Java SDK.
- OpenAiAudioSpeechOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>, String, String, String, Double, String) - Constructor for class org.springframework.ai.openai.OpenAiAudioSpeechOptions
- OpenAiAudioSpeechOptions.AudioResponseFormat - Enum Class in org.springframework.ai.openai
- OpenAiAudioSpeechOptions.Builder - Class in org.springframework.ai.openai
- OpenAiAudioSpeechOptions.Voice - Enum Class in org.springframework.ai.openai
- OpenAiAudioSpeechResponseMetadata - Class in org.springframework.ai.openai.metadata
-
Audio speech metadata implementation for OpenAI using the OpenAI Java SDK.
- OpenAiAudioSpeechResponseMetadata() - Constructor for class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
- OpenAiAudioSpeechResponseMetadata(RateLimit) - Constructor for class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
- OpenAiAudioTranscriptionModel - Class in org.springframework.ai.openai
-
OpenAI audio transcription model implementation using the OpenAI Java SDK.
- OpenAiAudioTranscriptionModel.Builder - Class in org.springframework.ai.openai
-
Builder for creating
OpenAiAudioTranscriptionModelinstances. - OpenAiAudioTranscriptionOptions - Class in org.springframework.ai.openai
-
OpenAI SDK Audio Transcription Options.
- OpenAiAudioTranscriptionOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>, AudioResponseFormat, String, String, Float, List<TranscriptionCreateParams.TimestampGranularity>, Boolean, TranscriptionCreateParams.ChunkingStrategy, List<String>, List<String>) - Constructor for class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- OpenAiAudioTranscriptionOptions.Builder - Class in org.springframework.ai.openai
- OpenAiAudioTranscriptionResponseMetadata - Class in org.springframework.ai.openai.metadata
-
Audio transcription metadata implementation for OpenAI using the OpenAI Java SDK.
- OpenAiAudioTranscriptionResponseMetadata() - Constructor for class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
- OpenAiAudioTranscriptionResponseMetadata(Double, String, Object, List<?>, List<TranscriptionWord>) - Constructor for class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
- OpenAiChatModel - Class in org.springframework.ai.openai
-
Chat Model implementation using the OpenAI Java SDK.
- OpenAiChatModel.Builder - Class in org.springframework.ai.openai
-
Builder for creating
OpenAiChatModelinstances. - OpenAiChatModel.ResponseFormat - Class in org.springframework.ai.openai
-
Response format (text, json_object, json_schema) for OpenAiChatModel responses.
- OpenAiChatModel.ResponseFormat.Builder - Class in org.springframework.ai.openai
- OpenAiChatModel.ResponseFormat.Type - Enum Class in org.springframework.ai.openai
- OpenAiChatOptions - Class in org.springframework.ai.openai
-
Configuration information for the Chat Model implementation using the OpenAI Java SDK.
- OpenAiChatOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>, Double, Integer, Double, List<String>, Double, Double, List<ToolCallback>, Map<String, Object>, Map<String, Integer>, Boolean, Integer, Integer, Integer, List<String>, OpenAiChatOptions.AudioParameters, OpenAiChatModel.ResponseFormat, OpenAiChatOptions.StreamOptions, Integer, Object, String, Boolean, Boolean, Boolean, Map<String, String>, String, String, String, String, Map<String, Object>) - Constructor for class org.springframework.ai.openai.OpenAiChatOptions
- OpenAiChatOptions.AbstractBuilder<B extends OpenAiChatOptions.AbstractBuilder<B>> - Class in org.springframework.ai.openai
- OpenAiChatOptions.AudioParameters - Record Class in org.springframework.ai.openai
- OpenAiChatOptions.AudioParameters.AudioResponseFormat - Enum Class in org.springframework.ai.openai
-
Specifies the output audio format.
- OpenAiChatOptions.AudioParameters.Voice - Enum Class in org.springframework.ai.openai
-
Specifies the voice type.
- OpenAiChatOptions.Builder - Class in org.springframework.ai.openai
- OpenAiChatOptions.StreamOptions - Record Class in org.springframework.ai.openai
- OpenAiChatOptions.StreamOptions.Builder - Class in org.springframework.ai.openai
- openAiClient(OpenAIClient) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel.Builder
-
Sets the OpenAIClient.
- openAiClient(OpenAIClient) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
- openAiClient(OpenAIClient) - Method in class org.springframework.ai.openai.OpenAiImageModel.Builder
- openAiClient(OpenAIClient) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel.Builder
-
Sets the OpenAI client.
- openAiClient(OpenAIClient) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Sets the synchronous OpenAI client.
- openAiClient(OpenAIClient) - Method in class org.springframework.ai.openai.OpenAiModerationModel.Builder
- openAiClientAsync(OpenAIClientAsync) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel.Builder
-
Sets the OpenAI client async.
- openAiClientAsync(OpenAIClientAsync) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Sets the asynchronous OpenAI client.
- OpenAiEmbeddingModel - Class in org.springframework.ai.openai
-
Embedding Model implementation using the OpenAI Java SDK.
- OpenAiEmbeddingModel() - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(OpenAIClient) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(OpenAIClient, MetadataMode) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(OpenAIClient, MetadataMode, OpenAiEmbeddingOptions) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(OpenAIClient, MetadataMode, OpenAiEmbeddingOptions, ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(MetadataMode, OpenAiEmbeddingOptions) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(MetadataMode, OpenAiEmbeddingOptions, ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(OpenAiEmbeddingOptions) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel(OpenAiEmbeddingOptions, ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Deprecated.in favor of
OpenAiEmbeddingModel.builder() - OpenAiEmbeddingModel.Builder - Class in org.springframework.ai.openai
- OpenAiEmbeddingOptions - Class in org.springframework.ai.openai
-
Configuration information for the Embedding Model implementation using the OpenAI Java SDK.
- OpenAiEmbeddingOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>, String, OpenAiEmbeddingOptions.EncodingFormat, Integer, Map<String, Object>) - Constructor for class org.springframework.ai.openai.OpenAiEmbeddingOptions
- OpenAiEmbeddingOptions.Builder - Class in org.springframework.ai.openai
- OpenAiEmbeddingOptions.EncodingFormat - Enum Class in org.springframework.ai.openai
-
The format to return the embeddings in.
- OpenAiHttpClientBuilderCustomizer - Interface in org.springframework.ai.openai.http.okhttp
-
Callback for customizing the
SpringAiOpenAiHttpClient.Builderused by every OpenAI*Modelbefore the underlyingOkHttpClientis built. - OpenAiImageGenerationMetadata - Class in org.springframework.ai.openai.metadata
-
Represents the metadata for image generation using the OpenAI Java SDK.
- OpenAiImageGenerationMetadata(String) - Constructor for class org.springframework.ai.openai.metadata.OpenAiImageGenerationMetadata
-
Creates a new OpenAiImageGenerationMetadata.
- OpenAiImageModel - Class in org.springframework.ai.openai
-
Image Model implementation using the OpenAI Java SDK.
- OpenAiImageModel() - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(OpenAIClient) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(OpenAIClient, ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(OpenAIClient, OpenAiImageOptions) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(OpenAIClient, OpenAiImageOptions, ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(OpenAiImageOptions) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel(OpenAiImageOptions, ObservationRegistry) - Constructor for class org.springframework.ai.openai.OpenAiImageModel
-
Deprecated.use
OpenAiImageModel.builder()instead. - OpenAiImageModel.Builder - Class in org.springframework.ai.openai
- OpenAiImageOptions - Class in org.springframework.ai.openai
-
Configuration information for the Image Model implementation using the OpenAI Java SDK.
- OpenAiImageOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>, Integer, Integer, Integer, String, String, String, String, String) - Constructor for class org.springframework.ai.openai.OpenAiImageOptions
- OpenAiImageOptions.Builder - Class in org.springframework.ai.openai
- OpenAiImageResponseMetadata - Class in org.springframework.ai.openai.metadata
-
Represents the metadata for image response using the OpenAI Java SDK.
- OpenAiImageResponseMetadata(Long) - Constructor for class org.springframework.ai.openai.metadata.OpenAiImageResponseMetadata
-
Creates a new OpenAiImageResponseMetadata.
- OpenAiModerationModel - Class in org.springframework.ai.openai
-
OpenAI SDK Moderation Model implementation.
- OpenAiModerationModel.Builder - Class in org.springframework.ai.openai
- OpenAiModerationOptions - Class in org.springframework.ai.openai
-
OpenAI SDK Moderation Options.
- OpenAiModerationOptions(String, String, Credential, String, String, AzureOpenAIServiceVersion, String, Boolean, Boolean, Duration, Integer, Proxy, Map<String, String>) - Constructor for class org.springframework.ai.openai.OpenAiModerationOptions
- OpenAiModerationOptions.Builder - Class in org.springframework.ai.openai
- OpenAiRateLimit - Class in org.springframework.ai.openai.metadata
-
RateLimitimplementation for OpenAI SDK. - OpenAiRateLimit(Long, Long, Duration, Long, Long, Duration) - Constructor for class org.springframework.ai.openai.metadata.OpenAiRateLimit
- OpenAiSetup - Class in org.springframework.ai.openai.setup
-
Helps configure the OpenAI Java SDK, depending on the platform used.
- OpenAiSetup.ModelProvider - Enum Class in org.springframework.ai.openai.setup
- options(OpenAiAudioSpeechOptions) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel.Builder
-
Sets the default options.
- options(OpenAiEmbeddingOptions) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel.Builder
- options(OpenAiImageOptions) - Method in class org.springframework.ai.openai.OpenAiImageModel.Builder
- options(OpenAiAudioTranscriptionOptions) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel.Builder
-
Sets the transcription options.
- options(OpenAiChatOptions) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Sets the chat options.
- options(OpenAiModerationOptions) - Method in class org.springframework.ai.openai.OpenAiModerationModel.Builder
- OPUS - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- OPUS - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
- org.springframework.ai.openai - package org.springframework.ai.openai
- org.springframework.ai.openai.http.okhttp - package org.springframework.ai.openai.http.okhttp
-
Spring AI's customized OkHttp-backed implementation of the OpenAi Java SDK's
HttpClientcontract. - org.springframework.ai.openai.metadata - package org.springframework.ai.openai.metadata
- org.springframework.ai.openai.setup - package org.springframework.ai.openai.setup
- organizationId - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- organizationId - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- organizationId(String) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- organizationId(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- outputAudio - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- outputAudio(OpenAiChatOptions.AudioParameters) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- outputModalities - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- outputModalities(List<String>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- outputSchema(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
P
- parallelToolCalls - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- parallelToolCalls(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- parseToolChoice(JsonNode) - Static method in class org.springframework.ai.openai.OpenAiChatModel
- PCM - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- PCM16 - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
- prompt(String) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- promptCacheKey - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- promptCacheKey(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- proxy - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- proxy - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- proxy(Proxy) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- proxy(Proxy) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- proxy(Proxy) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- proxyAuthenticator(ProxyAuthenticator) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
Q
- quality(String) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
R
- reasoningEffort - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- reasoningEffort(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- responseFormat - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- responseFormat(AudioResponseFormat) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- responseFormat(String) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- responseFormat(String) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- responseFormat(OpenAiAudioSpeechOptions.AudioResponseFormat) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- responseFormat(OpenAiChatModel.ResponseFormat) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- ResponseFormat() - Constructor for class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
S
- SAGE - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- SAGE - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- seed - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- seed(Integer) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- self() - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- serviceTier - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- serviceTier(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- setJsonSchema(String) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.openai.OpenAiChatModel
-
Use the provided convention for reporting observation data
- setObservationConvention(EmbeddingModelObservationConvention) - Method in class org.springframework.ai.openai.OpenAiEmbeddingModel
-
Use the provided convention for reporting observation data
- setObservationConvention(ImageModelObservationConvention) - Method in class org.springframework.ai.openai.OpenAiImageModel
-
Use the provided convention for reporting observation data
- setStrict(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- setType(OpenAiChatModel.ResponseFormat.Type) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- setupAsyncClient(String, String, Credential, String, AzureOpenAIServiceVersion, String, boolean, boolean, String, Duration, int, Proxy, Map<String, String>, ObservationRegistry, MeterRegistry, List<OpenAiHttpClientBuilderCustomizer>) - Static method in class org.springframework.ai.openai.setup.OpenAiSetup
- setupSyncClient(String, String, Credential, String, AzureOpenAIServiceVersion, String, boolean, boolean, String, Duration, int, Proxy, Map<String, String>, ObservationRegistry, MeterRegistry, List<OpenAiHttpClientBuilderCustomizer>) - Static method in class org.springframework.ai.openai.setup.OpenAiSetup
-
Sets up a synchronous OpenAI client.
- SHIMMER - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- SHIMMER - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
- size(String) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
- speed(Double) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- SpringAiOpenAiHttpClient - Class in org.springframework.ai.openai.http.okhttp
-
OkHttp-backed
HttpClientfor the OpenAI Java SDK, with Micrometer'sOkHttpObservationInterceptorattached so each HTTP attempt produces an observation (span + metric + traceparent propagation). - SpringAiOpenAiHttpClient.Builder - Class in org.springframework.ai.openai.http.okhttp
-
Builder for
SpringAiOpenAiHttpClient. - sslSocketFactory(SSLSocketFactory) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- stop(List<String>) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- store - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- store(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- stream(AudioTranscriptionPrompt) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionModel
- stream(TextToSpeechPrompt) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel
- stream(Prompt) - Method in class org.springframework.ai.openai.OpenAiChatModel
- streamOptions - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- streamOptions(OpenAiChatOptions.StreamOptions) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- StreamOptions(Boolean, Boolean, Map<String, Object>) - Constructor for record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Creates an instance of a
StreamOptionsrecord class. - streamScheduler(Scheduler) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechModel.Builder
-
Sets the
SchedulerforOpenAiAudioSpeechModel.stream(TextToSpeechPrompt). - streamUsage(boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- strict - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- strict(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Builder
-
Whether to enable strict schema adherence for JSON schema response format.
- strict(Boolean) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
-
Whether to enable OpenAI Tool/Function calling strict mode.
- style(String) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
T
- temperature(Float) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- TEXT - Enum constant in enum class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Type
-
Generates a text response.
- timeout - Variable in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- timeout - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- timeout(Duration) - Method in class org.springframework.ai.openai.AbstractOpenAiOptions.AbstractBuilder
- timeout(Duration) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- timeout(Timeout) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- timeout(Duration) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- timestampGranularities(List<TranscriptionCreateParams.TimestampGranularity>) - Method in class org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- toChatCompletionAudioParam() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
- toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.openai.OpenAiChatModel.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.since 2.0.0 for removal in 3.0.0 — internal tool execution in
OpenAiChatModelis superseded byToolCallingAdvisorused viaChatClient. - toolChoice - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- toolChoice(Object) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- toOpenAiCreateParams(List<String>) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions
- toOpenAiImageGenerateParams(ImagePrompt) - Method in class org.springframework.ai.openai.OpenAiImageOptions
- topLogprobs - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- topLogprobs(Integer) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- toString() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioSpeechResponseMetadata
- toString() - Method in class org.springframework.ai.openai.metadata.OpenAiAudioTranscriptionResponseMetadata
- toString() - Method in class org.springframework.ai.openai.metadata.OpenAiImageGenerationMetadata
- toString() - Method in class org.springframework.ai.openai.metadata.OpenAiImageResponseMetadata
- toString() - Method in class org.springframework.ai.openai.metadata.OpenAiRateLimit
- toString() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.StreamOptions
-
Returns a string representation of this record class.
- trustManager(X509TrustManager) - Method in class org.springframework.ai.openai.http.okhttp.SpringAiOpenAiHttpClient.Builder
- type(OpenAiChatModel.ResponseFormat.Type) - Method in class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Builder
U
- user - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- user(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- user(String) - Method in class org.springframework.ai.openai.OpenAiEmbeddingOptions.Builder
- user(String) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
V
- valueOf(String) - Static method in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.openai.setup.OpenAiSetup.ModelProvider
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.openai.OpenAiChatModel.ResponseFormat.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.Voice
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.openai.setup.OpenAiSetup.ModelProvider
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verbosity - Variable in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- verbosity(String) - Method in class org.springframework.ai.openai.OpenAiChatOptions.AbstractBuilder
- VERSE - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Voice
- voice() - Method in record class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters
-
Returns the value of the
voicerecord component. - voice(String) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
- voice(OpenAiAudioSpeechOptions.Voice) - Method in class org.springframework.ai.openai.OpenAiAudioSpeechOptions.Builder
W
- WAV - Enum constant in enum class org.springframework.ai.openai.OpenAiAudioSpeechOptions.AudioResponseFormat
- WAV - Enum constant in enum class org.springframework.ai.openai.OpenAiChatOptions.AudioParameters.AudioResponseFormat
- width(Integer) - Method in class org.springframework.ai.openai.OpenAiImageOptions.Builder
All Classes and Interfaces|All Packages|Constant Field Values
OpenAiAudioSpeechModel.getOptions()instead.