LuisDialog<TResult>.BestResultFrom Method

Definition

Calculates the best scored LuisServiceResult across multiple LuisServiceResult returned by different ILuisService.

protected virtual Microsoft.Bot.Builder.Dialogs.LuisServiceResult BestResultFrom (System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.LuisServiceResult> results);
abstract member BestResultFrom : seq<Microsoft.Bot.Builder.Dialogs.LuisServiceResult> -> Microsoft.Bot.Builder.Dialogs.LuisServiceResult
override this.BestResultFrom : seq<Microsoft.Bot.Builder.Dialogs.LuisServiceResult> -> Microsoft.Bot.Builder.Dialogs.LuisServiceResult
Protected Overridable Function BestResultFrom (results As IEnumerable(Of LuisServiceResult)) As LuisServiceResult

Parameters

results
IEnumerable<LuisServiceResult>

Results of multiple LUIS services calls.

Returns

A LuisServiceResult with the best scored IntentRecommendation and related LuisResult, or null if no one of results contains any intents.

Applies to