📜 ⬆️ ⬇️

Sales using voice assistant Yandex: create skills for Alice

Alexey Vazherkin, project manager at NIRIS studio , wrote an article about the new features of voice assistant Alice specifically for the Netology blog. Now, on its basis, you can write your own program (skill), for example, a game, a consulting system or a chat bot for selling your goods and services.

In March, Yandex launched beta testing of the Yandex.Dialogy platform. Now, on its basis, you can create your own “skill” for Alice’s voice assistant.

A skill is a special program that can communicate with the user. For example, play a text game with him or pick a suitable product for it from your catalog.

The user utters the phrase, Alice translates the voice into text and sends it to your server, where the program processes the information and sends the answer to Alice, which she transmits to the user - in voice, text or as an image.

For example, on the basis of skills, you can make your own voice chat bot to advise on products and services.
')
Or verbal promo game. By the way, Alice already knows how to play in the city:

imageimage
Playing in the city, Alice sometimes not only calls the city, but also reports some fact about it.

Millions of users communicate with Alice every day - they ask about the weather, traffic jams, are looking for cafes, cinemas and restaurants.

Developers are constantly updating the system, adding new features. Now you can participate in this and, if successful, get a new channel of interaction with your audience. And if you also write about this in the corporate blog and social networks, you can get an additional advantage to the reputation of the technology company.

What are Alice "skills" and why are they needed?


Skill in Yandex called special programs that Alice can write any developer. Within the framework of such a program, you can specify how Alice should communicate with the user, program the user's words and phrases, to which the voice assistant will have to give a definite answer. The use options are many.

Yandex provides the ability for users to communicate with the program through Alice, i.e., provides a voice interface and a popular platform. How to handle the information and commands received from users is up to you.

imageimage
The game with Alice in "What was before"

Pizza delivery example


If you are engaged in pizza delivery, we program the next beginning of the dialogue.

Alice: Hi! Today we have a promotion, 2 pizzas for the price of one. What kind of pizza do you want?

User: Any shrimp!

We program that if a user says one of these words [sea, with shrimps, with seafood], then we offer him a pizza with seafood.

Alice: A great choice. Pizza with seafood is our fad. And what size, small, medium or large?

User: Most.

Alice: Great, but where to deliver?

Etc.

Read also: Marketing Robots: How Neural Networks Will Change the World of Internet Marketing

Through skills, you can make a smart home control system: the program through Alice receives a command to turn on the light and sends it to the smart lamp controller.

Or a system of testing for the preliminary selection of personnel: a candidate for a vacancy will pass a survey in advance.

The system of preliminary selection of the tour for tour operators and travel agencies.

All sorts of technical dictionaries: at the request of a certain word, Alice will display its definition and scope.

And, of course, all kinds of delivery services for anything: food, books, electronics, etc.

imageimage
Playing with Alice in “Guess the Actor”

How to create your own "skill" for Alice


To create a skill for Alice, you will need to deploy a special web application on your server. Yandex developers write that you can use any language (the documentation uses examples on Node.js and Python). If you are not a technical specialist, you will need to find a programmer or a studio, prescribe a dialogue script and ask the specialist to implement it.
To make it easier for the user to navigate, you can display him with replica-hints buttons:

imageimage
Replicas Tips

Or display information in the form of a catalog:

imageimage
Catalog screenshots from the skill Flow wow, flower delivery service

Next, we come up with an activation phrase: having said it to Alice, the user will begin to communicate with the program. Then we test the work of the skill, publish it in the catalog, go through moderation - and now, the skill is available to users.

To create the skill yourself, without involving a programmer from the outside, you can use the Werther designer. Now through the designer you can create only the most simple text skills, but the developers promise to expand the possibilities and connect applications and orders.

image
Designer skills "Werther"

What skills are already in the catalog and how to test them


Today, all skills can be tested only in the Yandex.Beta application on Android, and the official skills catalog is located at beta.dialogs.yandex.ru/store .
Here are a few skills from this directory.

Quiz Pandarina


We answer questions and win coins.

imageimage
Skill "Quiz Pandarin"

Top Quotes



imageimage
We read quotes of famous people.

Book oracle


Answers questions with quotes from books.

imageimage
Book Oracle Skill

What kind of region


Skill will tell the region on the code on the car number.

imageimage
Skill "What a region"

From commercial skills in the catalog it is already possible to find skills in delivering flowers, calculating the cost of transportation, managing a smart home, calling the nearest tow truck, searching for gas stations, selling real estate, searching for air tickets, cryptocurrency courses, choosing a tour in Spain, etc.

But now most of the commercial skills I have tested work in test mode, and some of the activation names do not work, for some of them Alice gives the error "Sorry, the dialogue is not responding."

image
Aviasales tickets search failed

Developers launched the platform for Yandex.Dialogies skills 1 month ago. And it seems that everything is just beginning.

Platform perspectives


Voice assistants are actively developing. Google's Assistant, Apple's Siri, Amazon's Amazon. There are predictions that by 2022 the volume of purchases through voice assistants will increase 11 times: from 2 to 22 billion dollars. Yandex is traditionally strong in everything that concerns the Russian language, and Alice has every chance of becoming a leader among voice assistants in Russia. Now the Yandex.Dialogies service is still in beta testing, so there is a chance to release the skill as one of the first in its niche.

useful links



From the Editor


Courses "Netology" on the topic:

Source: https://habr.com/ru/post/358760/


All Articles