ReasoningItemResource Constructors
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.
Overloads
| Name | Description |
|---|---|
| ReasoningItemResource() |
Initializes a new instance of ReasoningItemResource for deserialization. |
| ReasoningItemResource(String, IEnumerable<ReasoningItemSummaryPart>) |
Initializes a new instance of ReasoningItemResource. |
| ReasoningItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, String, IReadOnlyList<ReasoningItemSummaryPart>) |
Initializes a new instance of ReasoningItemResource. |
ReasoningItemResource()
- Source:
- ReasoningItemResource.cs
Initializes a new instance of ReasoningItemResource for deserialization.
public ReasoningItemResource();
Public Sub New ()
Applies to
ReasoningItemResource(String, IEnumerable<ReasoningItemSummaryPart>)
- Source:
- ReasoningItemResource.cs
Initializes a new instance of ReasoningItemResource.
public ReasoningItemResource(string id, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> summary);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemResource : string * seq<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemResource
Public Sub New (id As String, summary As IEnumerable(Of ReasoningItemSummaryPart))
Parameters
- id
- String
- 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
id or summary is null.
Applies to
ReasoningItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, String, IReadOnlyList<ReasoningItemSummaryPart>)
- Source:
- ReasoningItemResource.cs
Initializes a new instance of ReasoningItemResource.
public ReasoningItemResource(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy createdBy, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string encryptedContent, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> summary);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * string * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), encryptedContent As String, summary As IReadOnlyList(Of ReasoningItemSummaryPart))
Parameters
- type
- ItemType
- id
- String
- createdBy
- CreatedBy
The information about the creator of the item.
- 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
- IReadOnlyList<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.