Sdílet prostřednictvím


LuisDialog<TResult>.BestIntentFrom(LuisResult) Metoda

Definice

Vypočítá nejlepší skóre IntentRecommendation z .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

Výsledek volání služby LUIS

Návraty

Hodnota s nejlepším skóre IntentRecommendationnebo hodnota null, pokud result neobsahuje žádné záměry.

Platí pro