Enum Class ReasoningEffort

java.lang.Object
java.lang.Enum<ReasoningEffort>
com.sap.ai.sdk.orchestration.ReasoningEffort
All Implemented Interfaces:
Serializable, Comparable<ReasoningEffort>, Constable

public enum ReasoningEffort extends Enum<ReasoningEffort>
Reasoning effort levels for the harmonized reasoning_effort model parameter.

Not all reasoning-capable models support the full range of values. Where a model does not support a given effort, orchestration transparently maps it to the closest equivalent.

See Also:
  • Enum Constant Details

    • MINIMAL

      public static final ReasoningEffort MINIMAL
      Minimal reasoning effort.
    • LOW

      public static final ReasoningEffort LOW
      Low reasoning effort.
    • MEDIUM

      public static final ReasoningEffort MEDIUM
      Medium reasoning effort.
    • HIGH

      public static final ReasoningEffort HIGH
      High reasoning effort.
    • NONE

      public static final ReasoningEffort NONE
      Disable reasoning when the model supports doing so.
  • Method Details

    • values

      public static ReasoningEffort[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReasoningEffort valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      The string sent as the value of the reasoning_effort model parameter.