Class RealtimeParamTurnDetection

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

public final class RealtimeParamTurnDetection extends RealtimeParam
Allows to configure turn detection (how model responds).
  • Field Details

    • BY_MODEL_AUTO

      public static final RealtimeParamTurnDetection BY_MODEL_AUTO
      Model tries to recognize if/when it should respond automatically.
    • EACH_CALL_IS_A_TURN

      public static final RealtimeParamTurnDetection 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

    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object