ResponseOutputTextAnnotationAddedEvent Constructor

Definition

Initializes a new instance of ResponseOutputTextAnnotationAddedEvent.

public ResponseOutputTextAnnotationAddedEvent(long sequenceNumber, string itemId, long outputIndex, long contentIndex, long annotationIndex, Azure.AI.AgentServer.Responses.Models.Annotation annotation);
new Azure.AI.AgentServer.Responses.Models.ResponseOutputTextAnnotationAddedEvent : int64 * string * int64 * int64 * int64 * Azure.AI.AgentServer.Responses.Models.Annotation -> Azure.AI.AgentServer.Responses.Models.ResponseOutputTextAnnotationAddedEvent
Public Sub New (sequenceNumber As Long, itemId As String, outputIndex As Long, contentIndex As Long, annotationIndex As Long, annotation As Annotation)

Parameters

sequenceNumber
Int64
itemId
String

The unique identifier of the item to which the annotation is being added.

outputIndex
Int64

The index of the output item in the response's output array.

contentIndex
Int64

The index of the content part within the output item.

annotationIndex
Int64

The index of the annotation within the content part.

annotation
Annotation

The annotation object being added. (See annotation schema for details.).

Exceptions

itemId or annotation is null.

Applies to