次の方法で共有


MessageDeltaChunk Class

Definition

Represents a message delta i.e. any changed fields on a message during streaming.

public class MessageDeltaChunk : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.MessageDeltaChunk>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.MessageDeltaChunk>
type MessageDeltaChunk = class
    interface IJsonModel<MessageDeltaChunk>
    interface IPersistableModel<MessageDeltaChunk>
Public Class MessageDeltaChunk
Implements IJsonModel(Of MessageDeltaChunk), IPersistableModel(Of MessageDeltaChunk)
Inheritance
MessageDeltaChunk
Implements

Properties

Delta

The delta containing the fields that have changed on the Message.

Id

The identifier of the message, which can be referenced in API endpoints.

Object

The object type, which is always thread.message.delta.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageDeltaChunk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MessageDeltaChunk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageDeltaChunk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageDeltaChunk>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MessageDeltaChunk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to