Skip to main content

Skill requirements

Yandex has several requirements on how your skill for Alice should work.

Start message

The bot should start talking to Alice users by sending them text messages. It means that on the first screen of your bot, you should add a block that requires sending a message: the Text, text to $var, num to $var, or file to $var block.

Otherwise, the skill will not work.

Obligatory answer

Make sure your bot script provides a response to each request from Alice users. Otherwise, users will receive messages saying the skill is not responding.

Response time no more than 4.5 seconds

The bot must respond to user requests within 4.5 seconds.

If according to the script the bot should send requests to a third-party service, the bot has to process the user response, send a request, process the service response, and respond to the user — all within 4.5 seconds.

A response that takes longer will slow down the bot and Alice users will receive messages that the skill is not responding.

Images

Yandex has the following requirements for images:

  • Images should be added only in one of the following formats: .png, .jpeg, .gif, .bmp, .tiff, .webp. Otherwise, the image will not be displayed.
  • Image size should be from 1 KB to 1 MB.

To add an image to a skill, upload it to Yandex.Dialogs.

caution
Also, if you add text to the image, text will not be displayed.
Alice will only voice it.

Number of characters in the bot’s phrase

A phrase that the bot sends in a message or voices when talking to the user should contain no more than 1,024 characters.

If you specify a phrase with more characters, it will break off.