Share via


ResponseReasoningSummaryPartDoneEvent Constructors

Definition

Overloads

ResponseReasoningSummaryPartDoneEvent()

Source:
ResponseReasoningSummaryPartDoneEvent.cs

Initializes a new instance of ResponseReasoningSummaryPartDoneEvent for deserialization.

public ResponseReasoningSummaryPartDoneEvent();
Public Sub New ()

Applies to

ResponseReasoningSummaryPartDoneEvent(Int32, String, Int32, Int32, ReasoningItemSummaryPart)

Source:
ResponseReasoningSummaryPartDoneEvent.cs

Initializes a new instance of ResponseReasoningSummaryPartDoneEvent.

public ResponseReasoningSummaryPartDoneEvent(int sequenceNumber, string itemId, int outputIndex, int summaryIndex, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart part);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartDoneEvent : int * string * int * int * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartDoneEvent
Public Sub New (sequenceNumber As Integer, itemId As String, outputIndex As Integer, summaryIndex As Integer, part As ReasoningItemSummaryPart)

Parameters

sequenceNumber
Int32

The sequence number for this event.

itemId
String

The ID of the item this summary part is associated with.

outputIndex
Int32

The index of the output item this summary part is associated with.

summaryIndex
Int32

The index of the summary part within the reasoning summary.

part
ReasoningItemSummaryPart

The completed summary part. 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

itemId or part is null.

Applies to

ResponseReasoningSummaryPartDoneEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, Int32, Int32, ReasoningItemSummaryPart)

Source:
ResponseReasoningSummaryPartDoneEvent.cs

Initializes a new instance of ResponseReasoningSummaryPartDoneEvent.

public ResponseReasoningSummaryPartDoneEvent(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType type, int sequenceNumber, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string itemId, int outputIndex, int summaryIndex, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart part);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartDoneEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType * int * System.Collections.Generic.IDictionary<string, BinaryData> * string * int * int * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartDoneEvent
Public Sub New (type As ResponseStreamEventType, sequenceNumber As Integer, serializedAdditionalRawData As IDictionary(Of String, BinaryData), itemId As String, outputIndex As Integer, summaryIndex As Integer, part As ReasoningItemSummaryPart)

Parameters

sequenceNumber
Int32

The sequence number for this event.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

itemId
String

The ID of the item this summary part is associated with.

outputIndex
Int32

The index of the output item this summary part is associated with.

summaryIndex
Int32

The index of the summary part within the reasoning summary.

part
ReasoningItemSummaryPart

The completed summary part. 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