Class AzureOpenAiAudioTranscriptionOptions
java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiAudioTranscriptionOptions
- All Implemented Interfaces:
AudioTranscriptionOptions,ModelOptions
public class AzureOpenAiAudioTranscriptionOptions
extends Object
implements AudioTranscriptionOptions
Options for audio transcription using Azure Open AI.
- Author:
- Piotr Olaszewski, Ilayaperumal Gopinathan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumstatic final recordStructured response of the transcribed audio.static enumstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleangetModel()inthashCode()voidsetDeploymentName(String deploymentName) voidsetGranularityType(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) voidsetLanguage(String language) voidvoidvoidvoidsetTemperature(Float temperature)
-
Field Details
-
DEFAULT_AUDIO_TRANSCRIPTION_MODEL
-
-
Constructor Details
-
AzureOpenAiAudioTranscriptionOptions
public AzureOpenAiAudioTranscriptionOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModelin interfaceAudioTranscriptionOptions
-
setModel
-
getDeploymentName
-
setDeploymentName
-
getLanguage
-
setLanguage
-
getPrompt
-
setPrompt
-
getTemperature
-
setTemperature
-
getResponseFormat
-
setResponseFormat
public void setResponseFormat(AzureOpenAiAudioTranscriptionOptions.TranscriptResponseFormat responseFormat) -
getGranularityType
-
setGranularityType
public void setGranularityType(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) -
hashCode
public int hashCode() -
equals
-