Reasoning Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
o-series models only
Configuration options for reasoning models.
public class Reasoning : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.Reasoning>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.Reasoning>
type Reasoning = class
interface IUtf8JsonSerializable
interface IJsonModel<Reasoning>
interface IPersistableModel<Reasoning>
Public Class Reasoning
Implements IJsonModel(Of Reasoning), IPersistableModel(Of Reasoning), IUtf8JsonSerializable
- Inheritance
-
Reasoning
- Implements
Constructors
| Name | Description |
|---|---|
| Reasoning() |
Initializes a new instance of Reasoning. |
| Reasoning(Nullable<ReasoningEffort>, Nullable<ReasoningSummary>, Nullable<ReasoningGenerateSummary>, IDictionary<String,BinaryData>) |
Initializes a new instance of Reasoning. |
Properties
| Name | Description |
|---|---|
| Effort |
Gets or sets the effort. |
| GenerateSummary |
Deprecated: use A summary of the reasoning performed by the model. This can be
useful for debugging and understanding the model's reasoning process.
One of |
| Summary |
A summary of the reasoning performed by the model. This can be
useful for debugging and understanding the model's reasoning process.
One of |
Methods
| Name | Description |
|---|---|
| DeserializeReasoning(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<Reasoning>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<Reasoning>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<Reasoning>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<Reasoning>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<Reasoning>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
| IUtf8JsonSerializable.Write(Utf8JsonWriter) | |