Share via


ConversationInput Class

Definition

Complete ordered set of utterances (spoken or written) by one or more speakers to be used for analysis. Please note ConversationInput 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 TextConversation and TranscriptConversation.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Language.Conversations.Models.UnknownConversationInput))]
public abstract class ConversationInput : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.ConversationInput>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.ConversationInput>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Language.Conversations.Models.UnknownConversationInput))>]
type ConversationInput = class
    interface IJsonModel<ConversationInput>
    interface IPersistableModel<ConversationInput>
Public MustInherit Class ConversationInput
Implements IJsonModel(Of ConversationInput), IPersistableModel(Of ConversationInput)
Inheritance
ConversationInput
Derived
Attributes
Implements

Constructors

ConversationInput(String, String)

Initializes a new instance of ConversationInput.

Properties

Domain

domain.

Id

Unique identifier for the conversation.

Language

Language of the conversation item in BCP-47 format.

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.

IJsonModel<ConversationInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationInput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to