Package org.springframework.ai.openai
Class OpenAiAudioTranscriptionOptions
java.lang.Object
org.springframework.ai.openai.OpenAiAudioTranscriptionOptions
- All Implemented Interfaces:
AudioTranscriptionOptions,ModelOptions
OpenAI Audio Transcription Options.
- Since:
- 0.8.1
- Author:
- Michael Lavelle, Christian Tzolov, Piotr Olaszewski, Ilayaperumal Gopinathan
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleangetModel()inthashCode()voidsetGranularityType(OpenAiAudioApi.TranscriptionRequest.GranularityType granularityType) voidsetLanguage(String language) voidvoidvoidsetResponseFormat(OpenAiAudioApi.TranscriptResponseFormat responseFormat) voidsetTemperature(Float temperature)
-
Constructor Details
-
OpenAiAudioTranscriptionOptions
public OpenAiAudioTranscriptionOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModelin interfaceAudioTranscriptionOptions
-
setModel
-
getLanguage
-
setLanguage
-
getPrompt
-
setPrompt
-
getTemperature
-
setTemperature
-
getResponseFormat
-
setResponseFormat
-
getGranularityType
-
setGranularityType
-
hashCode
public int hashCode() -
equals
-