Share via


ConversationsModelFactory.TargetIntentResult(String, String, Double) Method

Definition

Initializes a new instance of TargetIntentResult.

public static Azure.AI.Language.Conversations.Models.TargetIntentResult TargetIntentResult (string targetProjectKind = default, string apiVersion = default, double confidence = 0);
static member TargetIntentResult : string * string * double -> Azure.AI.Language.Conversations.Models.TargetIntentResult
Public Shared Function TargetIntentResult (Optional targetProjectKind As String = Nothing, Optional apiVersion As String = Nothing, Optional confidence As Double = 0) As TargetIntentResult

Parameters

targetProjectKind
String

This is the base class of an intent prediction.

apiVersion
String

The API version used to call a target service.

confidence
Double

The prediction score and it ranges from 0.0 to 1.0.

Returns

A new TargetIntentResult instance for mocking.

Applies to