- Go to the section Bots personal account.
- Press the button Create a bot or
in the upper left corner.
- Enter the name of the script. As the name of the script, use simple and understandable words and phrases that accurately reveal its purpose. In the future, the name will help you find the script in the list.
- Create a script using script editor tools.
- Click Save to add the script to the list.
The last saved version of the script is being tested.
- Go to the section Bots personal account.
- Open the script.
Text botSpeech synthesisWidget
- Click
on the right side of the top panel.
- Click Text mode. The bot's testing window will open.
- Send a message to the bot to start a dialog in text mode.
- Test the script thoroughly and in detail. Make sure that any options for the course of the dialogue, including non-obvious ones, are handled correctly.
- Click
on the right side of the top panel.
- Click Voice input. The bot's testing window will open.
- Hover over the message, then click
to play the message.
- Test the script thoroughly and in detail. Make sure that any options for the course of the dialogue, including non-obvious ones, are handled correctly.
When testing a script in voice mode, simplified version of ASR is used.
To test how the script works in a widget, create a test widget. How to do it, read the article Test widget creation.
When deleting a bot script, it is not permanently deleted, but moved to the archive. This allows you to restore a previously deleted bot script in the future.
To archive the script, follow these steps:
- Go to the section Bots.
- Click on
in the line of the script you want to delete.
- Click the Delete button.
- Confirm the deletion.
After that, the script will be moved to the archive.
- Go to the section Bots.
- Click Archive in the upper right corner. A window opens with a list of archived scripts.
- Sort the search results: by name, by date of deletion. By default, the scripts are arranged in descending order of the deletion date. This means that the last deleted script is at the top of the list.
- Click
in the line of the desired script. After that, the script will return to the Bots section, where you can continue working on it.
- Click Close to exit the archive.
You can copy the script from the bot's script list or in the editor itself.
To copy the script, follow these steps:
- Go to the section Bot Scripts.
List of scenariosScript Editor
- Click on
in the row of the desired bot.
- Click Create a copy.
- Click on
in the control panel.
- Click Create a copy of the script.
- (Optional) Edit the name of the script.
- Click Done. The last saved version of the script will be copied. The created copy will appear in the list of bot scripts.
If you plan to copy the script from the old personal account, go to the old personal account and save the script before copying.
To convert the script from the old personal account to a new format for further use and editing, follow these steps:
- Save the script in the old personal account.
- Go to the section Bot Scripts.
- Click on
in the row of the desired bot.
- Click Convert.
- Confirm the action. After confirmation, the system will automatically convert the script.
No copy of the script is created during conversion.
After the conversion is completed, copies of all the agents that were used in the script will be automatically created. These agents will be displayed as new copies that need to be retrained in order for the script to work correctly in the new format.