Using the classifier from the platform interface Deprecated
Please note that the use of the classifier by examples has been deprecated since version 1.10.0. Learn more about migrating projects to CAILA.
Creating and editing a reference from the platform interface:
Before you start using the classifier from the platform interface:
- Set classifier parameters in the
chatbot.yamlconfiguration file. - Specify the path to the
examples.jsonreference in thechatbot.yamlconfiguration file.
Adding a class
Go to the project > click Classifier in the dashboard.
Right-click the box to the right from the dashboard > select Add class to add a new class.
Fill out the fields:
- Class – name of the class; must be identical to the name of the state from which you will refer to it.
- Id – id of the class to be used in the
egandeg!tags in the scripts. - Title – free-form text description of the class.
- Phrases – string array. Specify all the examples for your class here.
Then save the phrases (the green Save button) and deploy your changes to the bot (the blue Save button).
The examples.json reference file will be automatically created in the directory specified. It will contain the classes you have added together with their parameters.
Deleting a class
Right-click the name of the class > click Delete > confirm your changes. Then save the phrases (the green Save button) and deploy your changes to the bot (the blue Save button).
Editing the reference
Right-click the name of the class > make your changes. Then save the phrases (the green Save button) and deploy your changes to the bot (the blue Save button).
You can also move the class across the reference tree: just drag and drop the file.