Język

LuisDialog<TResult>.BestIntentFrom(LuisResult) Metoda

Definicja

Oblicza najlepszy wynik z IntentRecommendation .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

Parametry

result
LuisResult

To efekt zgłoszenia do serwisu LUIS.

Zwraca

Najlepiej oceniona IntentRecommendationlub null, jeśli result nie zawiera żadnych intencji.

Dotyczy