ResponseReasoningTextDoneEvent Class

Definition

Emitted when a reasoning text is completed.

public class ResponseReasoningTextDoneEvent : Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ResponseReasoningTextDoneEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ResponseReasoningTextDoneEvent>
type ResponseReasoningTextDoneEvent = class
    inherit ResponseStreamEvent
    interface IJsonModel<ResponseReasoningTextDoneEvent>
    interface IPersistableModel<ResponseReasoningTextDoneEvent>
Public Class ResponseReasoningTextDoneEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseReasoningTextDoneEvent), IPersistableModel(Of ResponseReasoningTextDoneEvent)
Inheritance
ResponseReasoningTextDoneEvent
Implements

Constructors

Name Description
ResponseReasoningTextDoneEvent(Int64, String, Int64, Int64, String)

Initializes a new instance of ResponseReasoningTextDoneEvent.

Properties

Name Description
ContentIndex

The index of the reasoning content part.

EventType

Gets the event type discriminator (e.g. response.created, response.completed).

(Inherited from ResponseStreamEvent)
ItemId

The ID of the item this reasoning text is associated with.

OutputIndex

The index of the output item this reasoning text is associated with.

SequenceNumber

Gets the SequenceNumber.

(Inherited from ResponseStreamEvent)
Text

The full text of the completed reasoning content.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(ClientResult to ResponseReasoningTextDoneEvent)

Explicit Interface Implementations

Name Description
IJsonModel<ResponseReasoningTextDoneEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ResponseReasoningTextDoneEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<ResponseStreamEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IJsonModel<ResponseStreamEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseReasoningTextDoneEvent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ResponseReasoningTextDoneEvent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ResponseReasoningTextDoneEvent>.Write(ModelReaderWriterOptions)
IPersistableModel<ResponseStreamEvent>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseStreamEvent>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseStreamEvent>.Write(ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)

Extension Methods

Name Description
SnapshotEmbeddedResponse(ResponseStreamEvent, ResponseObject)

If the event is a lifecycle event that embeds a ResponseObject reference, replaces it with an immutable snapshot of the given accumulator. Non-lifecycle events are left unchanged.

Applies to