Udostępnij przez


LuisDialog<TResult>.BestIntentFrom(LuisResult) Metoda

Definicja

Oblicza najlepszy wynik na IntentRecommendation podstawie elementu 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

Wynik wywołania usługi LUIS.

Zwraca

Najlepszy wynik IntentRecommendation, lub null, jeśli result nie zawiera żadnych intencji.

Dotyczy