Class OpenAiAudioTranscriptionProperties.Options

java.lang.Object
org.springframework.ai.model.openai.autoconfigure.OpenAiAudioTranscriptionProperties.Options
Enclosing class:
OpenAiAudioTranscriptionProperties

public class OpenAiAudioTranscriptionProperties.Options extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable com.openai.models.audio.AudioResponseFormat
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable Float
    Deprecated, 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.
    void
    setLanguage(@Nullable String language)
     
    void
    setModel(@Nullable String model)
     
    void
    setPrompt(@Nullable String prompt)
     
    void
    setResponseFormat(@Nullable com.openai.models.audio.AudioResponseFormat responseFormat)
     
    void
    setTemperature(@Nullable Float temperature)
     
    void
    setTimestampGranularities(@Nullable List<com.openai.models.audio.transcriptions.TranscriptionCreateParams.TimestampGranularity> timestampGranularities)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public void setModel(@Nullable String model)
    • 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

      public void setPrompt(@Nullable String prompt)
    • 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

      public void setLanguage(@Nullable String language)
    • 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

      public void setTemperature(@Nullable Float temperature)
    • 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)