Class RealtimeParamVoice
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParamVoice
- All Implemented Interfaces:
RealtimeParam
Allows to configure model output voice
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParam
RealtimeParam.ParamName -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RealtimeParamVoiceStandard voice 1static final RealtimeParamVoiceStandard voice 2 -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns param nameReturns string value representation of the paraminthashCode()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
-
getParamName
Description copied from interface:RealtimeParamReturns param name- Specified by:
getParamNamein interfaceRealtimeParam- Returns:
- name
-
getValueAsString
Description copied from interface:RealtimeParamReturns string value representation of the param- Specified by:
getValueAsStringin interfaceRealtimeParam- Returns:
- string value
-
equals
-
hashCode
@Beta public int hashCode()
-