LuisDialog<TResult>.BestResultFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.