Class AzureOpenAiAudioTranscriptionOptions.Builder
java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiAudioTranscriptionOptions.Builder
- Enclosing class:
- AzureOpenAiAudioTranscriptionOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
deploymentName
(String deploymentName) granularityType
(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) temperature
(Float temperature) withDeploymentName
(String deploymentName) Deprecated, for removal: This API element is subject to removal in a future version.withGranularityType
(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) Deprecated, for removal: This API element is subject to removal in a future version.usegranularityType(List)
instead.withLanguage
(String language) Deprecated, for removal: This API element is subject to removal in a future version.uselanguage(String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usemodel(String)
instead.withPrompt
(String prompt) Deprecated, for removal: This API element is subject to removal in a future version.useprompt(String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.useresponseFormat(TranscriptResponseFormat)
instead.withTemperature
(Float temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Float)
instead.
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
model
-
deploymentName
-
language
-
prompt
-
responseFormat
public AzureOpenAiAudioTranscriptionOptions.Builder responseFormat(AzureOpenAiAudioTranscriptionOptions.TranscriptResponseFormat responseFormat) -
temperature
-
granularityType
public AzureOpenAiAudioTranscriptionOptions.Builder granularityType(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) -
withModel
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withModel(String model) Deprecated, for removal: This API element is subject to removal in a future version.usemodel(String)
instead. -
withDeploymentName
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withDeploymentName(String deploymentName) Deprecated, for removal: This API element is subject to removal in a future version.usedeploymentName(String)
instead. -
withLanguage
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withLanguage(String language) Deprecated, for removal: This API element is subject to removal in a future version.uselanguage(String)
instead. -
withPrompt
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withPrompt(String prompt) Deprecated, for removal: This API element is subject to removal in a future version.useprompt(String)
instead. -
withResponseFormat
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withResponseFormat(AzureOpenAiAudioTranscriptionOptions.TranscriptResponseFormat responseFormat) Deprecated, for removal: This API element is subject to removal in a future version.useresponseFormat(TranscriptResponseFormat)
instead. -
withTemperature
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withTemperature(Float temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Float)
instead. -
withGranularityType
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiAudioTranscriptionOptions.Builder withGranularityType(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) Deprecated, for removal: This API element is subject to removal in a future version.usegranularityType(List)
instead. -
build
-
deploymentName(String)
instead.