How do I choose a recognition session?
When choosing a recognition session, it is important to consider what type of interaction is expected from the client. Choosing the appropriate session parameters directly affects the accuracy and correctness of speech recognition.
Example of session selection:
- Short or monosyllabic answers. If short replies such as "yes", "no" or other monosyllabic answers are expected from the client, you should choose a session with a short waiting time. For example, levels with the parameter A monosyllabic response or ** A very short session** will be appropriate, as they are designed for a quick response from the client and short answers.
- Normal duration of dialogues. For a normal conversation with a client, when the client's responses will take from 1 to 5 seconds, it is optimal to choose levels with the parameters Normal or Normal (5 seconds). These parameters will provide sufficient time for standard speech recognition, but will not lead to too long a wait in case of silence.
- Long answers. If the client is expected to provide detailed and lengthy responses, it is important to choose sessions with longer timeouts. The levels Long or Very long are suitable for longer statements. This will allow the system to correctly recognize all speech without terminating the session too early.
- Special scenarios. If you are going to work with clients where responses can be highly variable in duration (for example, technical support or consultations), it is worth considering sessions with a timeout of 180 seconds (Normal (180 sec.) or Very long (180 sec.)). These levels will give the system the opportunity to wait for the end of even the longest answer.
- For monosyllabic responses, avoid using long sessions so as not to delay the processing of the request.
- If you are sure that the client will give only short or medium-length answers, prefer sessions with normal or short duration to speed up work.
- In case of uncertainty, select the average values that allow both short and longer answers, for example, Normal (5 sec.).
Read more about ASR in the article Timers and principles in speech recognition.
Do bot interruptions work in the editor?
Bot interrupts are only available in voice bots when making calls with a bot in real conditions. This function does not work in the script testing mode in the editor. Read more about the work of interrupts in the article Interrupts.
How do I copy the script?
For information on how to copy a bot script, see the article Managing bot scripts.
How do I upload the text of all script blocks?
To download the text of all script blocks, open the settings of the Configuration block. Then click Upload all texts to start downloading a file with the texts of all blocks of this script.
How do I create response buttons in a script?
To add buttons with answers (for example, "Yes" and "No"), follow these steps:
- Create a block Question.
- Add the Information blocks, one for each button.
- Swipe the arrows away from the block A question for each block Information.
- Set the arrow type.
- Enter the keywords for each block Information.
- Enter the text of the button in the Quick response field.
- Save the script.
Test the script to make sure that the buttons are working correctly. For more information, see the article Managing Bot scripts.