RecognizerResultExtensions.GetTopScoringIntent(RecognizerResult) 方法

定义

返回得分最高的意向及其分数。

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)

参数

result
RecognizerResult

识别器结果。

返回

意向和分数。

适用于