Share via


ResponseFunctionCallArgumentsDeltaEvent Class

Definition

Emitted when there is a partial function-call arguments delta.

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

Constructors

Name Description
ResponseFunctionCallArgumentsDeltaEvent(Int64, String, Int64, String)

Initializes a new instance of ResponseFunctionCallArgumentsDeltaEvent.

Properties

Name Description
Delta

The function-call arguments delta that is added.

EventType

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

(Inherited from ResponseStreamEvent)
ItemId

The ID of the output item that the function-call arguments delta is added to.

OutputIndex

The index of the output item that the function-call arguments delta is added to.

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 ResponseFunctionCallArgumentsDeltaEvent)

Explicit Interface Implementations

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