ym88659208ym87991671
Text block | Documentation for developers

Text block

Last updated on April 10, 2024

English version of the documentation is under development.

The block is used for displaying and playing the assistant's lines in the chat with the user.

The assistant's line is entered in the Assistant's line field and may contain variables. The assistant's line cannot be more than 500 characters long.

You can add an unlimited number of lines to the block using the Add another line button. The assistant selects lines randomly. Several Text blocks can be added to one script screen. The assistant shows lines from each block in a separate message.

Voice assistant options

By default, the assistant says the text entered in the Assistant's line field.

You can enter a specific text in the Text for speech synthesis parameter, which the assistant will say when saying the text from the Assistant's line field. The pronunciation of the phrase specified in the Text for speech synthesis field can be customized using the speech synthesis markup.

You can enter the text for speech synthesis separately for each of the lines defined in the text box.

Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.