struct Intent::PatternMatchingEntity

Represents a pattern matching entity used for intent recognition.

Members

Id

Syntax: public std::string Id;

An Id used to define this Entity if it is matched. This id must appear in an intent phrase or it will never be matched.

Type

Syntax: public EntityType Type;

The Type of this Entity.

Mode

Syntax: public EntityMatchMode Mode;

The EntityMatchMode of this Entity.

Phrases

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

If the Type is List these phrases will be used as the list.