RecognizerResultExtensions.GetTopScoringIntent(RecognizerResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the top scoring intent and its score.
public static (string intent, double score) 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
Intent and score.