Share via


ResponseReasoningSummaryPartAddedEvent Constructors

Definition

Overloads

ResponseReasoningSummaryPartAddedEvent()

Source:
ResponseReasoningSummaryPartAddedEvent.cs

Initializes a new instance of ResponseReasoningSummaryPartAddedEvent for deserialization.

public ResponseReasoningSummaryPartAddedEvent();
Public Sub New ()

Applies to

ResponseReasoningSummaryPartAddedEvent(Int32, String, Int32, Int32, ReasoningItemSummaryPart)

Source:
ResponseReasoningSummaryPartAddedEvent.cs

Initializes a new instance of ResponseReasoningSummaryPartAddedEvent.

public ResponseReasoningSummaryPartAddedEvent(int sequenceNumber, string itemId, int outputIndex, int summaryIndex, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart part);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartAddedEvent : int * string * int * int * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ReasoningItemSummaryPart -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartAddedEvent
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 summary part that was added. 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

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

Source:
ResponseReasoningSummaryPartAddedEvent.cs

Initializes a new instance of ResponseReasoningSummaryPartAddedEvent.

public ResponseReasoningSummaryPartAddedEvent(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.ResponseReasoningSummaryPartAddedEvent : 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.ResponseReasoningSummaryPartAddedEvent
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 summary part that was added. 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