ResponseTextDeltaEvent Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ResponseTextDeltaEvent.
public ResponseTextDeltaEvent(long sequenceNumber, string itemId, long outputIndex, long contentIndex, string delta, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.ResponseLogProb> logprobs);
new Azure.AI.AgentServer.Responses.Models.ResponseTextDeltaEvent : int64 * string * int64 * int64 * string * seq<Azure.AI.AgentServer.Responses.Models.ResponseLogProb> -> Azure.AI.AgentServer.Responses.Models.ResponseTextDeltaEvent
Public Sub New (sequenceNumber As Long, itemId As String, outputIndex As Long, contentIndex As Long, delta As String, logprobs As IEnumerable(Of ResponseLogProb))
Parameters
- sequenceNumber
- Int64
- itemId
- String
The ID of the output item that the text delta was added to.
- outputIndex
- Int64
The index of the output item that the text delta was added to.
- contentIndex
- Int64
The index of the content part that the text delta was added to.
- delta
- String
The text delta that was added.
- logprobs
- IEnumerable<ResponseLogProb>
The log probabilities of the tokens in the delta.
Exceptions
itemId, delta or logprobs is null.