Dialogflow is a highly robust and dynamic natural language understanding platform that allows you to quickly build highly scalable conversational chatbots by leveraging the power of Artificial Intelligence (AI).
You can
easily create highly customizable chatbots for variety of channels like web
applications, mobile applications, Facebook page, social media apps and much
more. It provides seamless integration with variety of channels like Facebook,
Viber, Telegram, Slack and much more.
But in
order to start working on building a chatbot yourself, lets connect the dots to
get a clear picture of entire chatbot development process in Dialogflow. To
create a chatbot, let us understand some of the nuances of the Dialogflow.
What are
Intents?
Intents
help Dialogflow ascertain the real intent or motive of the user messages. You
can provide a set of certain training phrases that can help Dialogflow get
trained to recognize similar such phrases and trigger a specific intent
whenever such phrases are encountered.
Lets look
at this example, if you want to create a chatbot that can display current score
of Indian or any cricket team and for that you need to first know the name of
the user who is interacting, then first you can create an intent name GetName
(you can give any name as you want) and then provide different training phrases
or user expressions that will help Dialogflow to trigger this intent.
Creating
Intents
To create an intent inside a Dialogflow bot, follow the steps below:
- Select the desired chatbot.
- Select the Entities option.
- Enter the desired intent name.
- Add many training phrases to trigger this intent.
- Click the Save button.
Training Phrases
Lets dive deep into the
actual training phrases that will be used to train Dialogflow to invoke this
intent when user inputs exact or similar phrases. From the above example where
we have to fetch user name from the user expression, we can provide different expressions
that will broaden the scope of training and extract the exact name of the user.
You can provide expressions like as shown below:
- Nikhil is my name
- My name is Nikhil
- Nikhil
- I am Nikhil
- This is Nikhil
- Nikhil and how are you?
Any response that you set
gets displayed in the Default Response section.
In the subsequent parts of
the blogs, we will dwelve deep to further know concepts like Entities,
Fulfillment, Webhooks, Contexts and much more.
Till that time, happy coding!
13 Comments
He is a very good blogger
ReplyDeleteThanks!
DeleteVery experienced
ReplyDeleteThanks!
DeleteVery nice blog...will explore further
ReplyDeleteThanks foryour valuable inputs will post more blogs
DeleteVery well explanation of the subject with minute details and examples.
ReplyDeleteThanks for your valuable inputs
DeleteThis article is good for the person who are into such work. So your target audience is of similar interests, this is good article. If your article is to target layman, then you have to bring yourself to zero first, questions like what is dialogue flow and chatbots, what is intents, expression. Trust me if you bring it to tune of layman, you will write your success stories.
ReplyDeleteBest of luck
Warm Regards
Saurabh Thanekar
Thanks Saurabh! for your valuable inputs and sparing time to read this blog. Will surely consider your suggestions.
DeleteVery well written in an easy to understand language!
ReplyDeleteVery informative article by covering all the technicality of dialoge flow
ReplyDeleteWynn Las Vegas vs Caesars Palace Hotel | JTM Hub
ReplyDeleteBoth hotels offer business-friendly accommodation with free Wi-Fi in all guest rooms. Guests can enjoy 서귀포 출장마사지 the 삼척 출장안마 views from 동두천 출장샵 the pool and 포천 출장마사지 pool at Wynn. 대전광역 출장샵