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 Summary
ConstructorsConstructorDescriptionCreates an instance of ResponsesReasoningConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResponsesReasoningConfiguration from the JsonReader.Get the effort property: The effort property.Get the generateSummary property: The generate_summary property.setGenerateSummary(ResponsesReasoningConfigurationGenerateSummary generateSummary) Set the generateSummary property: The generate_summary property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ResponsesReasoningConfiguration
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
public ResponsesReasoningConfiguration setGenerateSummary(ResponsesReasoningConfigurationGenerateSummary generateSummary) Set the generateSummary property: The generate_summary property.- Parameters:
generateSummary- the generateSummary value to set.- Returns:
- the ResponsesReasoningConfiguration object itself.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-