Class RealtimeParamTurnDetection
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.realtime.RealtimeParamTurnDetection
- All Implemented Interfaces:
RealtimeParam
Allows to configure turn detection (how model responds).
-
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 RealtimeParamTurnDetectionModel tries to recognize if/when it should respond automaticallystatic final RealtimeParamTurnDetectionEach call to the provided realtime client is considered a turn (eager explicit turn detection). -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns param nameReturns string value representation of the paraminthashCode()
-
Field Details
-
BY_MODEL_AUTO
Model tries to recognize if/when it should respond automatically -
EACH_CALL_IS_A_TURN
Each call to the provided realtime client is considered a turn (eager explicit turn detection). Less convenient than the automatic option but may give lower latency in some cases (model does not need to perform additional turn detection analysis).
-
-
Method Details
-
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()
-