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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static final record
Structured response of the transcribed audio.static enum
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
getModel()
int
hashCode()
void
setDeploymentName
(String deploymentName) void
setGranularityType
(List<AzureOpenAiAudioTranscriptionOptions.GranularityType> granularityType) void
setLanguage
(String language) void
void
void
void
setTemperature
(Float temperature)
-
Field Details
-
DEFAULT_AUDIO_TRANSCRIPTION_MODEL
-
-
Constructor Details
-
AzureOpenAiAudioTranscriptionOptions
public AzureOpenAiAudioTranscriptionOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModel
in 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
-