RecognizerResultExtensions.GetTopScoringIntent(RecognizerResult) Method

Definition

Return the top scoring intent and its score.

public static (string,double) GetTopScoringIntent (this Microsoft.Bot.Builder.RecognizerResult result);
static member GetTopScoringIntent : Microsoft.Bot.Builder.RecognizerResult -> ValueTuple<string, double>
<Extension()>
Public Function GetTopScoringIntent (result As RecognizerResult) As ValueTuple(Of String, Double)

Parameters

result
RecognizerResult

Recognizer result.

Returns

ValueTuple<String,Double>

Intent and score.

Applies to