Megosztás a következőn keresztül:


TargetIntentResult Class

Definition

This is the base class of an intent prediction 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.

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

Constructors

TargetIntentResult(Double)

Initializes a new instance of TargetIntentResult.

Properties

ApiVersion

The API version used to call a target service.

Confidence

The prediction score and it ranges from 0.0 to 1.0.

Explicit Interface Implementations

IJsonModel<TargetIntentResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetIntentResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetIntentResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetIntentResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetIntentResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to