What is Flow?įlow is a module or unit which defines the simple part of a conversation and its flow. We can take the value sent by the user to the bot. Here is one example how to add a page "Order Page" and the already made pages "Breakfast" and "Coffee". In the below example, "Breakfast" and "Coffee" are the pages while ordering the food in a restaurant. The flow start and end state are handled by special pages. When started, the conversation page becomes active. It is more about conditional logic in a flow. Routes are the way to control the flow inside a page. Synonyms is the way the user can type his message. In the picture below, breakfast-type is the entity type and eggs benedict is the entity which has synonyms (eggs, Eggs, eggs benedict). The way to fetch the user's data is called entity types. In the below picture eggs benedict is an example of entity. "hi", "just going to say hi", "long time no see", "hello hi" etc.Įntity is the data taken by the user. The same intent can be described in the following ways: We can also combine many intents and do much more together.Įxample of Dialogflow CX intents - "WecomeIntent", "No", "Yes" etc. Intent, in simple words, is what the user wants to say. Agent basically interact with end users and process the information behind the system.Įxample of agent - here "ml-bot" is the agent name What should I know before writing code or designing bots using CX? What are Agents?Īgents are the entry point to a bot system. Chat bots on any mobile app platforms (Android, iOS, Flutter etc) and some kinds of web apps.Voice bots can be easily made with Dialogflow, for serving all types of users, including physically challenged people.Messaging tools like Slack are very easy to integrate with Dialogflow.Image source: Google Where should I use Dialogflow? While designing a bot, if we have simple and small agents, we should use ES. This is the older version of Dialogflow, which has been renamed to ES. Food ordering systems are a simple example where Dialogflow CX can be used. Dialogflow CX (Customer Experience)ĭesigned for complex flows of conversation, it uses a state machine for managing the states of conversation.īelow is an example of what a food ordering flow for a pizza delivery agent can look like. Easy webhook integration (HTTP request events on specific action inside Dialogflow system).Integration with other tools is very easy.Very easy to integrate on web and mobile apps. This is the point when thinking about using Dialogflow. In a business situation we might need to make a running bot example in a couple of hours or a day. Recently it is getting hard to write code from scratch due to advanced and super-fast client expectations. Every day we are asking "Hey google", "Hi google", "Please play this", do this, do that, but are we considering what's going on in the background? I made a small chatbot, named ml-bot, to find out how such a system works.ĭialogflow is a Google AI Service, available in multiple languages.īy using it we can easily make conversational voice or chat bots.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |