pyaiml21.ast.category.Category¶
- class pyaiml21.ast.category.Category(pattern: pyaiml21.ast.node.Node, template: pyaiml21.ast.node.Node, that: Optional[pyaiml21.ast.node.Node] = None, topic: Optional[pyaiml21.ast.node.Node] = None)[source][source]¶
Category represents a basic knowledge of an AIML chatbot.
A category consists of pattern, that and topic that constitute a pattern path for matching in the graphmaster, and a template that contains instructions to calculate the response for user’s input.
Methods
Attributes
thattopicpatterntemplate