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
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
getModel()
int
hashCode()
void
setGranularityType
(OpenAiAudioApi.TranscriptionRequest.GranularityType granularityType) void
setLanguage
(String language) void
void
void
setResponseFormat
(OpenAiAudioApi.TranscriptResponseFormat responseFormat) void
setTemperature
(Float temperature)
-
Constructor Details
-
OpenAiAudioTranscriptionOptions
public OpenAiAudioTranscriptionOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModel
in interfaceAudioTranscriptionOptions
-
setModel
-
getLanguage
-
setLanguage
-
getPrompt
-
setPrompt
-
getTemperature
-
setTemperature
-
getResponseFormat
-
setResponseFormat
-
getGranularityType
-
setGranularityType
-
hashCode
public int hashCode() -
equals
-