Sprache

LuisDialog<TResult>.BestIntentFrom(LuisResult) Methode

Definition

berechnet das am besten erzielte IntentRecommendation Ergebnis aus einem LuisResult.

protected virtual Microsoft.Bot.Builder.Luis.Models.IntentRecommendation BestIntentFrom(Microsoft.Bot.Builder.Luis.Models.LuisResult result);
abstract member BestIntentFrom : Microsoft.Bot.Builder.Luis.Models.LuisResult -> Microsoft.Bot.Builder.Luis.Models.IntentRecommendation
override this.BestIntentFrom : Microsoft.Bot.Builder.Luis.Models.LuisResult -> Microsoft.Bot.Builder.Luis.Models.IntentRecommendation
Protected Overridable Function BestIntentFrom (result As LuisResult) As IntentRecommendation

Parameter

result
LuisResult

Ein Ergebnis eines LUIS-Service-Aufrufs.

Gibt zurück

Die bestbewertete IntentRecommendation, oder null, wenn result sie keine Absichten enthält.

Gilt für: