October 6, 2024

Today we are going to show you how to build your own AI Assistant.

So starting from 2018 there is lot of buzz going about virtual assistant. Many companies have developed their own, like Google Assistant, Siri, Amazon Alexa and Cortana. But for developers who want to use them in their Applications, Google has provided a platform called Dialogflow, and we are going to use this.

First, you need to go to www.dialogflow.com

Then click on go to console

Login with your Gmail ID and you are good to go.

Now click on create agent. This will open a page where you need to enter name of your agent and can set Timezone and default language.

Click on create button in top right corner. It will take few seconds.

On the right hand side you will see a “try it now” text box. But if we ask a question to agent it will not respond because our agent is not trained.

If you scroll down to left hand side there is something called as small talk. Now this is used to add abilities to your agent so that it can respond to you.

To use smal ltalk you need to just enable it. For simplicity we will just add few responses to questions. If you want you can add more which will make your agent better.

Once added, click Done, and it will save your responses. Now let’s test our agent and yes it is responding!

If you want to see a fully functional agent scroll up on left hand side and click on integrations. Click on settings in Web Demo, enable it and you will see a URL of your agent just click on it and it will direct you to another page where you can test your agent. No lets fire up something like “Hi”, you can use your laptop or desktop mic to give voice commands.

If you want to integrate your AI Assistant on a website, below, there is a link to an article where you can find steps for creating AI and section which explains how you can embed you AI Assitant on your website:

https://www.kommunicate.io/blog/integrate-bot-using-dialogflow-in-kommunicate/

Leave a Reply

Copyright © All rights reserved www.HufNews.com | ChromeNews by AF themes.