Share via


ResponseTextDeltaEvent Constructors

Definition

Overloads

ResponseTextDeltaEvent()

Source:
ResponseTextDeltaEvent.cs

Initializes a new instance of ResponseTextDeltaEvent for deserialization.

public ResponseTextDeltaEvent();
Public Sub New ()

Applies to

ResponseTextDeltaEvent(Int32, String, Int32, Int32, String)

Source:
ResponseTextDeltaEvent.cs

Initializes a new instance of ResponseTextDeltaEvent.

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

Parameters

sequenceNumber
Int32

The sequence number for this event.

itemId
String

The ID of the output item that the text delta was added to.

outputIndex
Int32

The index of the output item that the text delta was added to.

contentIndex
Int32

The index of the content part that the text delta was added to.

delta
String

The text delta that was added.

Exceptions

itemId or delta is null.

Applies to

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

Source:
ResponseTextDeltaEvent.cs

Initializes a new instance of ResponseTextDeltaEvent.

public ResponseTextDeltaEvent(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType type, int sequenceNumber, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string itemId, int outputIndex, int contentIndex, string delta);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseTextDeltaEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType * int * System.Collections.Generic.IDictionary<string, BinaryData> * string * int * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseTextDeltaEvent
Public Sub New (type As ResponseStreamEventType, sequenceNumber As Integer, serializedAdditionalRawData As IDictionary(Of String, BinaryData), itemId As String, outputIndex As Integer, contentIndex As Integer, delta 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 delta was added to.

outputIndex
Int32

The index of the output item that the text delta was added to.

contentIndex
Int32

The index of the content part that the text delta was added to.

delta
String

The text delta that was added.

Applies to