TextContentBuilder.EmitTextDone(String) 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.done event with the final complete text.
Call this after all deltas have been emitted. After this, you may call
EmitAnnotationAdded(Annotation) and then EmitDone().
public virtual Azure.AI.AgentServer.Responses.Models.ResponseTextDoneEvent EmitTextDone(string? finalText = default);
abstract member EmitTextDone : string -> Azure.AI.AgentServer.Responses.Models.ResponseTextDoneEvent
override this.EmitTextDone : string -> Azure.AI.AgentServer.Responses.Models.ResponseTextDoneEvent
Public Overridable Function EmitTextDone (Optional finalText As String = Nothing) As ResponseTextDoneEvent
Parameters
- finalText
- String
Optional override for the final text. When null, the accumulated delta
fragments are merged automatically.
Returns
A ResponseTextDoneEvent with the final text.