你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConversationExportedUtterance Class

Definition

Represents an exported utterance for a conversational project.

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

Constructors

ConversationExportedUtterance(String, String)

Initializes a new instance of ConversationExportedUtterance.

Properties

Dataset

The dataset for this utterance. Allowed values are 'Train' and 'Test'.

Entities

Represents the entity labels of the utterance.

Intent

The intent of the utterance.

Language

Represents the utterance's language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc.

Text

The utterance text.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConversationExportedUtterance>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConversationExportedUtterance>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationExportedUtterance>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationExportedUtterance>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationExportedUtterance>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to