logo

NJP

Google DialogFlow | Agents | Chatbots | part 1

Import · Jan 08, 2022 · video

hi everyone in this video i'm going to talk about dialog flow and this is one of the most awaited topics that most of you have been waiting for so let's get started and i'll start with what exactly is dialogflow all about so dialogflow is basically a natural language understanding platform that makes it easy to design and integrate uh let's say conversational user interfaces into uh for example our mobile applications are web applications and our interactive devices and so on so without wasting much [Music] time on the theoretical aspect of it i'll start with the agent's part agent is one of the modules in the dialog flow and it is the first step whenever we are planning to build a chat bot so first thing is to create an agent so agent is basically a module which incorporates natural language processing to understand what exactly the user meant for example if i am interacting with a bot whatever i am trying to convey to the bot so that part is understood with the help of an agent so that agent transforms the user request to actionable data and maps them to intent which we will be covering in a separate video or separate topic altogether and it in turn defines the objective of the user so in short long story short agent basically manages the conversation flow using several other building blocks like intense context which we will be discussing in the upcoming sessions or videos so this is the page which is open in front of you to create a new agent and if you want to create one you can also navigate to this area so for now you see the default name of snow integration which is one of the agent i built long back and click on this drop down icon and you can click on create new agent and you can choose your default language i'm choosing my default language is english and one point to be noted here is whatever default language you choose while creating an agent it cannot be changed later on since i am in india time zone uh i am going to select uh this is the default time and i can choose to select a google project in the google project drop down or i can keep it as it is to create a new google project the next option that i can see over here is the mega agent so if you're planning to combine several other agents into one then this is the option you need to activate otherwise keep it off i'm planning to create a very short agent for now so we'll keep it off for this part of this video and let's give some name to uh agent so let me give it a name agents no and i'm going to click on create it will take couple of seconds probably to save this agent so now my agent is saved and i came on to this default screen where i am being asked to create an intent but we will not create that for now now i am going to navigate to so whatever you need to do with respect to agent it is supposed to be done in the top left corner this is the drop down if you want to create a new agent if you want to see all the agents then this is the place or if you want to update some settings with respect to your agent then that can also be done and it can be done over here so first tab is the general tab where you need to describe your agent so i'm going to give it a description of integration with service now then this is the default project id that is generated and here i can also specify the after for my agent and this is the option to enable beta features and apis and all and here i am going to log my interactions to google cloud and dialog flow if i go to the next tab then i could see the default language that was selected by me is already available over here and i have also an option to add a locale over here like what kind of english i'm referring to is it australia canada uk india u.s so let's select something over here and i can also select additional languages so uh previously the options which are available over here were around 14 so maybe they have updated some of them in the recent days and if i select additional languages over here so how that is going to impact my chatbot is that all the intents and entities that i am going to create moving forward will be replicated in each of these languages probably automatically but the only downside to that is no it is not actually a downside but the user expressions that we are going to configure as part of our chatbot those will have to be configured separately and that also makes sense because in every different language we have different kind of user expressions so we need to define them separately whenever we are building a chatbot coming to the next tab is ml settings tab and here we can simply specify how our agent will be trained the kind of algorithm that we will be using here i can specify the confidence goal so if the confidence goal of the my conversation is less than point zero point three then it will return a default intent otherwise uh it will trigger the respective intent and here i have couple of other options i can allow machine learning algorithm to correct the spelling of my query during request processing i can also enable automatic training i can also automatically validate the agent when agent training is performed so all these things i have certain options available over here to be done going to the next is export model where we can specify uh we can simply export a complete agent if we want to onboard this agent to probably a different chatbot altogether then we can use this option and this is the environments tab where we can manage in which environment we will be probably using our chatbot and these are a couple of new tabs added by dialogflow in the recent years uh so since the beginning it was launched a lot of years back they have been enhancing the platform on a regular basis and adding new functionality so so this is pretty much it about the agents in a dialog flow in our upcoming sessions we'll also discuss about intents and how we create a chatbot and we'll integrate it with service now and we'll try to create a ticket and service now uh within with an integration with dialogflow so thank you so much for watching

View original source

https://www.youtube.com/watch?v=2JfRzkIFfPo