Class OpenAiAudioTranscriptionProperties.Options
java.lang.Object
org.springframework.ai.model.openai.autoconfigure.OpenAiAudioTranscriptionProperties.Options
- Enclosing class:
- OpenAiAudioTranscriptionProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringgetModel()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.@Nullable com.openai.models.audio.AudioResponseFormatDeprecated, for removal: This API element is subject to removal in a future version.@Nullable FloatDeprecated, for removal: This API element is subject to removal in a future version.@Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity>Deprecated, for removal: This API element is subject to removal in a future version.voidsetLanguage(@Nullable String language) voidvoidvoidsetResponseFormat(@Nullable com.openai.models.audio.AudioResponseFormat responseFormat) voidsetTemperature(@Nullable Float temperature) voidsetTimestampGranularities(@Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity> timestampGranularities)
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
getModel
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.audio.transcription.model") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getModel()Deprecated, for removal: This API element is subject to removal in a future version. -
setModel
-
getResponseFormat
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.audio.transcription.response-format") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable com.openai.models.audio.AudioResponseFormat getResponseFormat()Deprecated, for removal: This API element is subject to removal in a future version. -
setResponseFormat
public void setResponseFormat(@Nullable com.openai.models.audio.AudioResponseFormat responseFormat) -
getPrompt
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.audio.transcription.prompt") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getPrompt()Deprecated, for removal: This API element is subject to removal in a future version. -
setPrompt
-
getLanguage
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.audio.transcription.language") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getLanguage()Deprecated, for removal: This API element is subject to removal in a future version. -
setLanguage
-
getTemperature
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.audio.transcription.temperature") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Float getTemperature()Deprecated, for removal: This API element is subject to removal in a future version. -
setTemperature
-
getTimestampGranularities
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.audio.transcription.timestamp-granularities") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity> getTimestampGranularities()Deprecated, for removal: This API element is subject to removal in a future version. -
setTimestampGranularities
public void setTimestampGranularities(@Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity> timestampGranularities)
-