다음을 통해 공유


SessionUpdateResponseContentPartDone Class

Definition

Returned when a content part is done streaming in an assistant message item. Also emitted when a Response is interrupted, incomplete, or cancelled.

public class SessionUpdateResponseContentPartDone : Azure.AI.VoiceLive.SessionUpdate, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionUpdateResponseContentPartDone>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionUpdateResponseContentPartDone>
type SessionUpdateResponseContentPartDone = class
    inherit SessionUpdate
    interface IJsonModel<SessionUpdateResponseContentPartDone>
    interface IPersistableModel<SessionUpdateResponseContentPartDone>
Public Class SessionUpdateResponseContentPartDone
Inherits SessionUpdate
Implements IJsonModel(Of SessionUpdateResponseContentPartDone), IPersistableModel(Of SessionUpdateResponseContentPartDone)
Inheritance
SessionUpdateResponseContentPartDone
Implements

Properties

ContentIndex

The index of the content part in the item's content array.

EventId

Gets the EventId.

(Inherited from SessionUpdate)
ItemId

The ID of the item.

OutputIndex

The index of the output item in the response.

Part

The content part that is done.

ResponseId

The ID of the response.

Methods

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

Explicit Interface Implementations

IJsonModel<SessionUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IJsonModel<SessionUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IJsonModel<SessionUpdateResponseContentPartDone>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<SessionUpdateResponseContentPartDone>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<SessionUpdate>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdate>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdate>.Write(ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdateResponseContentPartDone>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<SessionUpdateResponseContentPartDone>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<SessionUpdateResponseContentPartDone>.Write(ModelReaderWriterOptions)

Applies to