Delen via


LuisDialog<TResult>.BestIntentFrom(LuisResult) Methode

Definitie

Berekent de beste score IntentRecommendation van een 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

Parameters

result
LuisResult

Een resultaat van een LUIS-serviceoproep.

Retouren

De beste score IntentRecommendationof null als result er geen intenties zijn.

Van toepassing op