Langue

LuisDialog<TResult>.BestIntentFrom(LuisResult) Méthode

Définition

Calcule le meilleur score IntentRecommendation à partir d’un 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

Paramètres

result
LuisResult

Résultat d’un appel de service LUIS.

Retours

Le meilleur score IntentRecommendation, ou nul si result ne contient aucune intention.

S’applique à