Class RealtimeParamVoice

java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParam
com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParamVoice

public final class RealtimeParamVoice extends RealtimeParam
Allows to configure model output voice.
  • Field Details

  • Method Details

    • withExplicitVoice

      @Nonnull @Beta public static RealtimeParamVoice withExplicitVoice(@Nonnull String voiceName)
      Allows to configure raw voice name as named by model provider. Unsafe because SDK cannot verify in advance if the provided voice name is correct and supported by the chosen model and use case NOTE: this method does not check voice name and incorrect input may produce runtime exceptions (unsafe).
      Parameters:
      voiceName - as named by model provider.
      Returns:
      typed voice client configuration param.
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object