Closed SunilGudivada closed 3 years ago
Yes change dirs config option to file and give a file path to the aiml instead of a directory
So change
categories: dirs: path/to/aiml-files
To
categories: file: path/to/single/aiml-file
What if the settings are SQL.
Can you please tell me how it works in case of SQL.
If i dynamically feed the content in the SQL tables. Will it automatically take the content without restarting the client service?
No that’s not possible at the moment, if you want to work with individual files use file mode
Or use sql for all but aiml and use file just for the aiml file
Regards
Keith 07771 597630
On 26 Jun 2020, at 16:24, Sunil Gudivada notifications@github.com wrote:
What if the settings are SQL.
Can you please tell me how it works in case of SQL.
If dynamically feed the content in the SQL tables. Will it automatically take the content without restarting the client service?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Is there a way to reload the brain ?
I am creating the aiml files in the storage folder, and reloading the files in the database using
Uploader.upload('categories', AIML_DATABASE_URI, None, 'storage/categories', True, '.aiml', True, False, True)
Do we have any way to reload the brain without restarting the client ?
Yes, take a look at the admin aiml in y-bot there are aiml commands to reload all data elements
I want to load the specific AIML file instead of reloading all the AIML files.