ResponseReasoningSummaryPartAddedEvent Class

Definition

Emitted when a new reasoning summary part is added.

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

Constructors

Name Description
ResponseReasoningSummaryPartAddedEvent(Int64, String, Int64, Int64, ResponseReasoningSummaryPartAddedEventPart)

Initializes a new instance of ResponseReasoningSummaryPartAddedEvent.

Properties

Name Description
EventType

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

(Inherited from ResponseStreamEvent)
ItemId

The ID of the item this summary part is associated with.

OutputIndex

The index of the output item this summary part is associated with.

Part

The summary part that was added.

SequenceNumber

Gets the SequenceNumber.

(Inherited from ResponseStreamEvent)
SummaryIndex

The index of the summary part within the reasoning summary.

Methods

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

Operators

Name Description
Explicit(ClientResult to ResponseReasoningSummaryPartAddedEvent)

Explicit Interface Implementations

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