Delen via


TextConversationItem Class

Definition

The text modality of an input conversation.

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

Constructors

TextConversationItem(String, String, String)

Initializes a new instance of TextConversationItem.

Properties

Id

The ID of a conversation item.

Language

The override language of a conversation item in BCP 47 language representation.

Modality

Enumeration of supported conversational modalities.

ParticipantId

The participant ID of a conversation item.

Role

Role of the participant.

Text

The text input.

Explicit Interface Implementations

IJsonModel<TextConversationItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextConversationItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TextConversationItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextConversationItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextConversationItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to