Share via


TextConversation Class

Definition

model for text conversation.

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

Constructors

TextConversation(String, String, IEnumerable<TextConversationItem>)

Initializes a new instance of TextConversation.

Properties

ConversationItems

Ordered list of text conversation items in the conversation.

Domain

domain.

(Inherited from ConversationInput)
Id

Unique identifier for the conversation.

(Inherited from ConversationInput)
Language

Language of the conversation item in BCP-47 format.

(Inherited from ConversationInput)

Explicit Interface Implementations

IJsonModel<ConversationInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ConversationInput)
IJsonModel<ConversationInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConversationInput)
IJsonModel<TextConversation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextConversation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ConversationInput)
IPersistableModel<ConversationInput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ConversationInput)
IPersistableModel<ConversationInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ConversationInput)
IPersistableModel<TextConversation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextConversation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextConversation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to