Share via


ResponseTextDoneEvent Constructors

Definition

Overloads

ResponseTextDoneEvent()

Source:
ResponseTextDoneEvent.cs

Initializes a new instance of ResponseTextDoneEvent for deserialization.

public ResponseTextDoneEvent();
Public Sub New ()

Applies to

ResponseTextDoneEvent(Int32, String, Int32, Int32, String)

Source:
ResponseTextDoneEvent.cs

Initializes a new instance of ResponseTextDoneEvent.

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

Parameters

sequenceNumber
Int32

The sequence number for this event.

itemId
String

The ID of the output item that the text content is finalized.

outputIndex
Int32

The index of the output item that the text content is finalized.

contentIndex
Int32

The index of the content part that the text content is finalized.

text
String

The text content that is finalized.

Exceptions

itemId or text is null.

Applies to

ResponseTextDoneEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, Int32, Int32, String)

Source:
ResponseTextDoneEvent.cs

Initializes a new instance of ResponseTextDoneEvent.

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

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 output item that the text content is finalized.

outputIndex
Int32

The index of the output item that the text content is finalized.

contentIndex
Int32

The index of the content part that the text content is finalized.

text
String

The text content that is finalized.

Applies to