Package org.springframework.ai.openai
Class OpenAiAudioTranscriptionOptions.Builder
java.lang.Object
org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.Builder
- Enclosing class:
OpenAiAudioTranscriptionOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()credential(@Nullable com.openai.credential.Credential credential) customHeaders(Map<String, String> customHeaders) deploymentName(@Nullable String deploymentName) from(OpenAiAudioTranscriptionOptions fromOptions) gitHubModels(boolean gitHubModels) maxRetries(int maxRetries) merge(@Nullable AudioTranscriptionOptions from) microsoftFoundry(boolean microsoftFoundry) microsoftFoundryServiceVersion(@Nullable com.openai.azure.AzureOpenAIServiceVersion microsoftFoundryServiceVersion) organizationId(@Nullable String organizationId) responseFormat(com.openai.models.audio.AudioResponseFormat responseFormat) temperature(@Nullable Float temperature) timestampGranularities(@Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity> timestampGranularities)
-
Method Details
-
from
-
merge
-
model
-
responseFormat
public OpenAiAudioTranscriptionOptions.Builder responseFormat(com.openai.models.audio.AudioResponseFormat responseFormat) -
prompt
-
language
-
temperature
-
timestampGranularities
public OpenAiAudioTranscriptionOptions.Builder timestampGranularities(@Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity> timestampGranularities) -
baseUrl
-
apiKey
-
credential
public OpenAiAudioTranscriptionOptions.Builder credential(@Nullable com.openai.credential.Credential credential) -
deploymentName
-
microsoftFoundryServiceVersion
public OpenAiAudioTranscriptionOptions.Builder microsoftFoundryServiceVersion(@Nullable com.openai.azure.AzureOpenAIServiceVersion microsoftFoundryServiceVersion) -
organizationId
-
microsoftFoundry
-
gitHubModels
-
timeout
-
maxRetries
-
proxy
-
customHeaders
-
build
-