Package org.springframework.ai.openai
Class OpenAiAudioTranscriptionOptions.Builder
java.lang.Object
org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- Enclosing class:
- OpenAiAudioTranscriptionOptions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withGranularityType
(OpenAiAudioApi.TranscriptionRequest.GranularityType granularityType) withLanguage
(String language) withPrompt
(String prompt) withResponseFormat
(OpenAiAudioApi.TranscriptResponseFormat responseFormat) withTemperature
(Float temperature)
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
withModel
-
withLanguage
-
withPrompt
-
withResponseFormat
public OpenAiAudioTranscriptionOptions.Builder withResponseFormat(OpenAiAudioApi.TranscriptResponseFormat responseFormat) -
withTemperature
-
withGranularityType
public OpenAiAudioTranscriptionOptions.Builder withGranularityType(OpenAiAudioApi.TranscriptionRequest.GranularityType granularityType) -
build
-