-
Notifications
You must be signed in to change notification settings - Fork 14
3. Registration
[make an image of registration]
First, this function makes three main directories - wakewords, actions, queries, and baseline - all within the data folder. Wakewords are where wakewords are stored if you want to train some of them later (e.g. ‘Hey Nala’). The actions folder is where Nala stores any data generated as a result of responding to user queries. The queries folder is where all the queries that a user makes are stored. Lastly, the baseline folder is where all the user data generated from the registration process is stored, along with any redundant backups of the database in case the master database fails.
Everything that Nala does is stored in freeform JSON databases. This makes it much easier to create complex databases and relationships. There are three main databases: registration.json, settings.json, and actions.json. These databases are elaborated upon in the DATABASES section of this wiki.