ResponseTextDoneEvent Constructor

Definition

Initializes a new instance of ResponseTextDoneEvent.

public ResponseTextDoneEvent(long sequenceNumber, string itemId, long outputIndex, long contentIndex, string text, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.ResponseLogProb> logprobs);
new Azure.AI.AgentServer.Responses.Models.ResponseTextDoneEvent : int64 * string * int64 * int64 * string * seq<Azure.AI.AgentServer.Responses.Models.ResponseLogProb> -> Azure.AI.AgentServer.Responses.Models.ResponseTextDoneEvent
Public Sub New (sequenceNumber As Long, itemId As String, outputIndex As Long, contentIndex As Long, text As String, logprobs As IEnumerable(Of ResponseLogProb))

Parameters

sequenceNumber
Int64
itemId
String

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

outputIndex
Int64

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

contentIndex
Int64

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

text
String

The text content that is finalized.

logprobs
IEnumerable<ResponseLogProb>

The log probabilities of the tokens in the delta.

Exceptions

itemId, text or logprobs is null.

Applies to