Class ResponsesReasoningConfiguration

java.lang.Object
com.azure.ai.openai.responses.models.ResponsesReasoningConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<ResponsesReasoningConfiguration>

public final class ResponsesReasoningConfiguration extends Object implements com.azure.json.JsonSerializable<ResponsesReasoningConfiguration>
**o-series models only** Configuration options for reasoning models.
  • Constructor Details

    • ResponsesReasoningConfiguration

      public ResponsesReasoningConfiguration(ResponsesReasoningConfigurationEffort effort)
      Creates an instance of ResponsesReasoningConfiguration class.
      Parameters:
      effort - the effort value to set.
  • Method Details

    • getEffort

      Get the effort property: The effort property.
      Returns:
      the effort value.
    • getGenerateSummary

      Get the generateSummary property: The generate_summary property.
      Returns:
      the generateSummary value.
    • setGenerateSummary

      Set the generateSummary property: The generate_summary property.
      Parameters:
      generateSummary - the generateSummary value to set.
      Returns:
      the ResponsesReasoningConfiguration object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResponsesReasoningConfiguration>
      Throws:
      IOException
    • fromJson

      public static ResponsesReasoningConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ResponsesReasoningConfiguration from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ResponsesReasoningConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ResponsesReasoningConfiguration.