你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResponseCodeInterpreterCallInProgressEvent Class

Definition

Emitted when a code interpreter call is in progress.

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

Constructors

Name Description
ResponseCodeInterpreterCallInProgressEvent(Int64, Int64, String)

Initializes a new instance of ResponseCodeInterpreterCallInProgressEvent.

Properties

Name Description
EventType

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

(Inherited from ResponseStreamEvent)
ItemId

The unique identifier of the code interpreter tool call item.

OutputIndex

The index of the output item in the response for which the code interpreter call is in progress.

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

Explicit Interface Implementations

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