Поделиться через


OrchestrationExportedUtterance Class

Definition

Represents an utterance of an orchestration project.

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

Constructors

OrchestrationExportedUtterance(String, String)

Initializes a new instance of OrchestrationExportedUtterance.

Properties

Dataset

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

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<OrchestrationExportedUtterance>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OrchestrationExportedUtterance>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OrchestrationExportedUtterance>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OrchestrationExportedUtterance>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OrchestrationExportedUtterance>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to