Udostępnij za pośrednictwem


ConversationsModelFactory.LuisTargetIntentResult Method

Definition

Initializes a new instance of LuisTargetIntentResult.

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

Parameters

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.

result
LuisResult

The actual response from a LUIS Generally Available application.

Returns

A new LuisTargetIntentResult instance for mocking.

Applies to