OrchestrationPrediction Class

Definition

This represents the prediction result of an Orchestration project.

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

Properties

Intents

A dictionary that contains all intents. A key is an intent name and a value is its confidence score and target type. The top intent's value also contains the actual response from the target project. Please note TargetIntentResult 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 ConversationTargetIntentResult, LuisTargetIntentResult, NoneLinkedTargetIntentResult and QuestionAnsweringTargetIntentResult.

TopIntent

The intent with the highest score.

(Inherited from PredictionBase)

Explicit Interface Implementations

IJsonModel<OrchestrationPrediction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OrchestrationPrediction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<PredictionBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from PredictionBase)
IPersistableModel<OrchestrationPrediction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OrchestrationPrediction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OrchestrationPrediction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<PredictionBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from PredictionBase)

Applies to