Class RealtimeParamVoice
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParam
com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParamVoice
Allows to configure model output voice.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RealtimeParamVoiceStandard voice 1.static final RealtimeParamVoiceStandard voice 2. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static RealtimeParamVoicewithExplicitVoice(String voiceName) Allows to configure raw voice name as named by model provider.
-
Field Details
-
DEFAULT_1
Standard voice 1. -
DEFAULT_2
Standard voice 2.
-
-
Method Details
-
withExplicitVoice
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
-
hashCode
public int hashCode()
-