Condividi tramite


MessageDeltaTextContentObject Class

Definition

Represents the data of a streamed text content part within a streaming message delta chunk.

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

Properties

Annotations

Annotations for the text. Please note MessageDeltaTextAnnotation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MessageDeltaTextFileCitationAnnotation and MessageDeltaTextFilePathAnnotation.

Value

The data that makes up the text.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageDeltaTextContentObject>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageDeltaTextContentObject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageDeltaTextContentObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageDeltaTextContentObject>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageDeltaTextContentObject>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to