struct Intent::P atternMatchingEntity
表示用于意向识别的模式匹配实体。
成员
ID
语法: public std::string Id;
用于定义此实体(如果匹配)的 ID。 此 ID 必须出现在意向短语中,否则永远不会匹配。
类型
语法: public EntityType Type;
此实体的类型。
Mode
语法: public EntityMatchMode Mode;
此实体的 EntityMatchMode。
短语
语法: public std::vector< std::string > Phrases;
如果类型为 List,则这些短语将用作列表。