struct Intent::PatternMatchingIntent

Represents a pattern matching intent used for intent recognition.

Members

Phrases

Syntax: public std::vector< std::string > Phrases;

Phrases and patterns that will trigger this intent. At least one phrase must exist to be able to apply this intent to an IntentRecognizer.

Id

Syntax: public std::string Id;

An Id used to define this Intent if it is matched. If no Id is specified, then the first phrase in Phrases will be used.