Hello!! Google Developers. I am toggling on curated information about one exciting product which was invented by Google and it’s Google Assistant. Google Assistant is Google’s Voice-Controlled Smart Assistant. So now Android OS have own feature is Google Assistant like Apple Siri and Amazon’s Alexa skill development. Google first disclose in May 2016 and first launch it into Google pixel and Pixel XL.
Some things that Google Assistant can help with:
– Find any place (e.g. “Get me directions Ahmedabad.”)
– Ask anything (e.g. “What time is my flight?”)
– Set reminders (e.g. “Remind me to buy a birthday gift for Sarah.”)
– Email to your friend (e.g. “- Send an email of some document to my friend”)
– Play music (e.g. “Play music on YouTube.”)
– Send text messages (e.g. “Text Claire.”)
– Set calendar events (e.g. “Set a calendar event for dinner with Charlie tomorrow from 7-9 p.m.”)
After grand success in launching some devices, Google has come up with new device Google Home and Wear OS in which you can use Google voice Assistant technology.
I am not going deep in giving introduction because here we are talking about how to make your own skill for assistant and make it live. You can read more about Google Assistant from Google I/O announcement.
How to set up new Google Assistant skill?
Before starting you need to know about dialog flow and basics steps about how to setup your project in dialog flow. There are so many things to learn like Agents, Intents, Entities, Rich Messages.
Create new Agent
To create a new agent, go to dialog flow and login. If you don’t have an account then first register and go to “console” and click on “create agent”.
Got to the left menu, choose the second field to have a unique name for your agent, set below
- Default Language: Select the default language for your agent.
- Default Time Zone: Select the default time zone for your agent.
Create new intent
An intent represents a mapping between what a user says and what action should be taken by your software. Intent interfaces have the following sections:
- Training Phrases
For creating new intent click on “Intents” from the left panel. Please refer to the image below for it.
You can see here default intent it’s a welcome intent so when you first start your application, this welcome intent triggers first so you can set basic response to show user or introduce user about your application. Now click on “create intent” and give any name and save it. After click again on intent it directly reflects on your intent list. Here my intent name is “quote”.
Now click on intent that you have created. Scroll it down you can see a word like “Training phrases”. Add new phrase that user can use the word to know feature about your app or we can say asking something to an assistant. I have added phrases like “Give me today’s quote” and “Today’s quote” so Assistant can understand that user is asking for today’s quote.
Okay, you have completed basic setup for intent. Now your agent is ready to perform your task.
How to test it?
You can use your training phrases like “Give me today’s quote”.
So add a static response in “Text response” field and save it.
Now again “Give me today’s quote” in the right panel, hit Enter you can see a response like “The most satisfying thing in life is to have been able to give a large part of one’s self to others.” Refer the screenshots provided below:
Now you can click on “See how it works in Google Assistant” to test in the simulator, I am sharing a video on how to test it in Google Assistant simulator,
Ok, you have completed your skill or application.
How to make it live?
Click on the left menu on “DEPLOY” and for making application live you have to fill all the field mentioned in below image,
After filling all the information you have to click on release option and click on “SUBMIT FOR PRODUCTION”.
Here you can see “submit for production” option is disabled because I have not filled all detail so after complete all detail click on this button. It will take some days for live. After the application is live you can check in any device like Google Home.
What we offer at Let’s Nurture for Google Home / Action Development?
Let’s Nurture had published so many Google Assistant skill. It really helps you to find your horoscope, today’s quote any many more. How to check or use our Assistant skill?
Ask Google assistant to connect with this application “Ok Google Talk to Today’s horoscope”.It will ask you to give any zodiac name so just say your zodiac name and you will get your zodiac.
Ask Google assistant to connect with this application “Ok google Talk to Happy quote”. You will get today’s quote.
Ask Google assistant to connect with this application “Ok google Talk to Movie fact”. It will ask you to give any movie name so just say movie name for which you are looking for. It will give you movie detail that you are looking for.
Ask Google assistant to connect with this application “Ok google Talk to Crypto rate”. It will ask you to give any cryptocurrency name for which you are looking for.
If you are looking to get more information on Google Assistant or want to develop your own custom Google Assistant skills, then get a free consultation now.