Share via


ReasoningItemParam Constructors

Definition

Overloads

ReasoningItemParam()

Source:
ReasoningItemParam.cs

Initializes a new instance of ReasoningItemParam for deserialization.

public ReasoningItemParam();
Public Sub New ()

Applies to

ReasoningItemParam(IEnumerable<ReasoningItemSummaryPart>)

Source:
ReasoningItemParam.cs

Initializes a new instance of ReasoningItemParam.

public ReasoningItemParam(System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> summary);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemParam : seq<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemParam
Public Sub New (summary As IEnumerable(Of ReasoningItemSummaryPart))

Parameters

summary
IEnumerable<ReasoningItemSummaryPart>

Reasoning text contents. Please note ReasoningItemSummaryPart is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ReasoningItemSummaryTextPart.

Exceptions

summary is null.

Applies to

ReasoningItemParam(ItemType, IDictionary<String,BinaryData>, String, IList<ReasoningItemSummaryPart>)

Source:
ReasoningItemParam.cs

Initializes a new instance of ReasoningItemParam.

public ReasoningItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string encryptedContent, System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> summary);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * string * System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), encryptedContent As String, summary As IList(Of ReasoningItemSummaryPart))

Parameters

type
ItemType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

encryptedContent
String

The encrypted content of the reasoning item - populated when a response is generated with reasoning.encrypted_content in the include parameter.

summary
IList<ReasoningItemSummaryPart>

Reasoning text contents. Please note ReasoningItemSummaryPart is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ReasoningItemSummaryTextPart.

Applies to