LuisDialog<TResult> Class

Definition

A dialog specialized to handle intents and entities from LUIS.

[System.Serializable]
public class LuisDialog<TResult> : Microsoft.Bot.Builder.Dialogs.IDialog<TResult>
type LuisDialog<'Result> = class
    interface IDialog<'Result>
Public Class LuisDialog(Of TResult)
Implements IDialog(Of TResult)

Type Parameters

TResult

The result type.

Inheritance
LuisDialog<TResult>
Attributes
Implements

Constructors

LuisDialog<TResult>(ILuisService[])

Construct the LUIS dialog.

Fields

handlerByIntent

Mapping from intent string to the appropriate handler.

LuisTraceLabel
LuisTraceName
LuisTraceType
Obfuscated
services

Methods

BestIntentFrom(LuisResult)

Calculates the best scored IntentRecommendation from a LuisResult.

BestResultFrom(IEnumerable<LuisServiceResult>)

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

DispatchToIntentHandler(IDialogContext, IAwaitable<IMessageActivity>, IntentRecommendation, LuisResult)
GetHandlersByIntent()
GetLuisQueryTextAsync(IDialogContext, IMessageActivity)
LuisActionDialogFinished(IDialogContext, IAwaitable<LuisResult>)
MakeLuisActionDialog(ILuisService, String, String)
MakeServicesFromAttributes()
MessageReceived(IDialogContext, IAwaitable<IMessageActivity>)
ModifyLuisRequest(LuisRequest)

Modify LUIS request before it is sent.

RemoveSensitiveData(ILuisModel)
StartAsync(IDialogContext)

Applies to