PatternRuleInfo Class

Pattern rule.

Inheritance
PatternRuleInfo

Constructor

PatternRuleInfo(*, id: Optional[str] = None, pattern: Optional[str] = None, intent: Optional[str] = None, **kwargs)

Parameters

id
str
Required

The pattern ID.

pattern
str
Required

The pattern text.

intent
str
Required

The intent's name where the pattern belongs to.