OnChooseIntent Class

Definition

Actions triggered when an Intent of "ChooseIntent" has been emitted by a recognizer.

public class OnChooseIntent : Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions.OnIntent
type OnChooseIntent = class
    inherit OnIntent
Public Class OnChooseIntent
Inherits OnIntent
Inheritance

Remarks

This trigger is run when the utterance has triggered ambiguity between intents from multiple recognizers in a CrossTrainedRecognizerSet.

Constructors

OnChooseIntent(List<Dialog>, String, String, Int32)

Initializes a new instance of the OnChooseIntent class.

Fields

Kind

Class identifier.

Properties

Actions

Gets or sets the actions to add to the plan when the rule constraints are met.

(Inherited from OnCondition)
ActionScope

Gets the action scope.

(Inherited from OnCondition)
Condition

Gets or sets the condition which needs to be met for the actions to be executed (OPTIONAL).

(Inherited from OnCondition)
Entities

Gets or sets entities which must be recognized for this rule to trigger.

(Inherited from OnIntent)
Event

Gets or sets the event to fire on.

(Inherited from OnDialogEvent)
Id

Gets or sets the value of the unique id for this condition.

(Inherited from OnCondition)
Intent

Gets or sets intent to match on.

(Inherited from OnIntent)
Intents

Gets or sets the list of intent names that must be in the chooseIntent to match.

Priority

Gets or sets the rule priority expression where 0 is the highest and less than 0 is ignored.

(Inherited from OnCondition)
RunOnce

Gets or sets a value indicating whether rule should only run once per unique set of memory paths.

(Inherited from OnCondition)
Source

Gets the source.

(Inherited from OnCondition)

Methods

AddExternalCondition(Expression)

Add external condition to the OnCondition.

(Inherited from OnCondition)
AddExternalCondition(String)

Add external condition to the OnCondition.

(Inherited from OnCondition)
CreateExpression()

Create the expression for this condition.

CurrentPriority(ActionContext)

Compute the current value of the priority expression and return it.

(Inherited from OnCondition)
ExecuteAsync(ActionContext)

Method called to execute the rule's actions.

(Inherited from OnCondition)
GetDependencies()

Enumerates child dialog dependencies so they can be added to the containers dialog set.

(Inherited from OnCondition)
GetExpression()

Get the cached expression for this condition.

(Inherited from OnCondition)
GetIdentity()

Gets the identity for this rule's action.

(Inherited from OnIntent)
OnCreateChangeList(ActionContext, Object)

Called when a change list is created.

(Inherited from OnIntent)
RegisterSourceLocation(String, Int32)

Registers the source location.

(Inherited from OnCondition)

Applies to