pyaiml21.graphmaster.mongo_gm.MongoGraphMaster¶
- class pyaiml21.graphmaster.mongo_gm.MongoGraphMaster(bot_config: pyaiml21.botconfig.config.BotConfig, collection: pymongo.collection.Collection[Any], policy: Union[str, Callable[[Any, Any], Any]] = 'keep_last')[source][source]¶
Store the template nodes in the MongoDB.
Methods
add_pattern_tagAdd pattern tag to the known tags of this graphmaster.
dumpStore the graphmaster into the specified file.
generate_htmlStore graphmaster to html file.
loadLoad the graphmaster from the file, after it was saved using dump.
Load template from the database.
matchFind the matching Pattern Path.
saveSave the category into the graphmaster.
Save obj to the database.
sizeReturn the number of AIML categories.
validateValidate the category, check its syntax.
vocabularyImplement <vocabulary> tag.
Attributes
THATTOPIC