TextContentBuilder.EmitAnnotationAdded(Annotation) Method
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.
Produces a response.output_text.annotation.added event with the given annotation.
The annotation is also tracked so that EmitDone() can include it in
the content_part.done event.
public virtual Azure.AI.AgentServer.Responses.Models.ResponseOutputTextAnnotationAddedEvent EmitAnnotationAdded(Azure.AI.AgentServer.Responses.Models.Annotation annotation);
abstract member EmitAnnotationAdded : Azure.AI.AgentServer.Responses.Models.Annotation -> Azure.AI.AgentServer.Responses.Models.ResponseOutputTextAnnotationAddedEvent
override this.EmitAnnotationAdded : Azure.AI.AgentServer.Responses.Models.Annotation -> Azure.AI.AgentServer.Responses.Models.ResponseOutputTextAnnotationAddedEvent
Public Overridable Function EmitAnnotationAdded (annotation As Annotation) As ResponseOutputTextAnnotationAddedEvent
Parameters
- annotation
- Annotation
The annotation to emit.
Returns
A ResponseOutputTextAnnotationAddedEvent with the annotation.