d
WE ARE EXPERTS IN TECHNOLOGY

Let’s Work Together

n

StatusNeo

Google DialogFlow Part – 1

Introduction

  • Dialogflow is used to create a tool that helps in interacting with your website, mobile app, or your product.
  • It is a natural language understanding platform.
  • It helps in creating a better user interaction tool so that the best interactive experiences can be provided.
  • By providing input and output messages automatic responses can be generated using AI capabilities.
  • Machine Learning algorithm helps in providing better response on basis of previous interactions.
  • Dialogue in DialogFlow means the questions or statements that the user asks while interacting.

Dialog Matching

  • We need to provide some sample questions and answers so that we can train our model for the same.
  • Say for example we need to have a chatbot for our ShoeShop, so the sample questions will be like-
    • Is this(any size) available?
    • Is this color available for this size?
    • What is the delivery date?
    • How to proceed with the return?
    • When will this product come?
  • Now, whenever these questions are asked by the user we have a text or audio base reply for this.
  • And from the previous questions, we can train our model for similar questions like this.

Identifying User’s Expectations (Entities Extraction)

  • Like in a database management system we have entities, similarly, we have the same in DialogFlow.
  • Entities can be of different types like system entities, developer entities.
  • In System Entities, we can have dates, times, emails.
  • In Developer Entities, we can have new shoes, replacements, exchanges.
  • We can also have synonyms of them so that a proper mapping can be done.
  • Each word is made to fall into an entity so that classification can be done properly and better results can be achieved.

Control the dialog

  • There are two types of dialog Linear dialog and non-linear dialog.
  • The linear dialog includes one-liners questions and answers.
  • That is questions having direct answers to them.
  • Examples of linear dialogs are-
    • Can this be delivered to this place?
    • Is this size available?
    • Is this color available?
  • While non-linear dialogs are the complex ones in which multiple answers are possible.
  • Examples of non-linear dialogs are-
    • Can it be delivered tomorrow?
    • Two answers are possible for this – yes it is, no what about the day after tomorrow?
    • Now in the second case, there will be a series of questions.
    • This falls in the example of non-linear dialogs.

Conclusion

This is the first part of DialogFlow, in the next part we will cover the use cases, key features, and implementations.

References

  • https://cloud.google.com/dialogflow
  • https://www.youtube.com/watch?v=-tOamKtmxdY&list=PListM28kf0CNiMdmz-Ta5UcLR-ePCOW__&index=3

Still Curious? Visit my website to know more!

For more interesting Blogs Visit- Utkarsh Shukla Author

I am a versatile professional who specializes in empowering businesses with digital solutions. With expertise in software engineering consulting, I provide valuable guidance and support to companies seeking to enhance their technological capabilities. Additionally, I excel as a host(Professionals Unplugged), author, poet, and photographer. This diverse skill set allows me to creatively express my thoughts and ideas through various mediums. As a host, I engage audiences and facilitate insightful conversations. As an author, my writings offer valuable insights and knowledge. As a poet, I capture emotions and experiences through the power of words. And as a photographer, I have a keen eye for capturing captivating visuals. Overall, my wide range of skills and experiences make me a valuable asset in the world of digital solutions and creative expression

Add Comment