ResponseReasoningTextDeltaEvent Class

Definition

Emitted when a delta is added to a reasoning text.

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

Constructors

Name Description
ResponseReasoningTextDeltaEvent(Int64, String, Int64, Int64, String)

Initializes a new instance of ResponseReasoningTextDeltaEvent.

Properties

Name Description
ContentIndex

The index of the reasoning content part this delta is associated with.

Delta

The text delta that was added to the reasoning content.

EventType

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

(Inherited from ResponseStreamEvent)
ItemId

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

OutputIndex

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

SequenceNumber

Gets the SequenceNumber.

(Inherited from ResponseStreamEvent)

Methods

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

Operators

Name Description
Explicit(ClientResult to ResponseReasoningTextDeltaEvent)

Explicit Interface Implementations

Name Description
IJsonModel<ResponseReasoningTextDeltaEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ResponseReasoningTextDeltaEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<ResponseStreamEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IJsonModel<ResponseStreamEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseReasoningTextDeltaEvent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ResponseReasoningTextDeltaEvent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ResponseReasoningTextDeltaEvent>.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