what if you could turn your website in all of those PDF documents manuals guides uh ebooks and reports into a helpful chatbot imagine asking questions and getting instant answers directly from your website your documents or any ebook will guess what I found a way to do this in less than 10 minutes in this video I'll show you how easy it is to build your own AI chatbot with custom knowledge base without any coding skills you can do this for your business or other businesses and start making money by the end of this tutorial video not
only you'll be able to create a chatbot and train your AI based on your own data using PDF HTML txt CSV Word documents and PowerPoint presentation files but also integrate the chatbot into your website Facebook Messenger Flack Discord or Telegram in this video you learn how to create a data story agent how to add add structure data to your data agent data store how to enable voice and chat experiences for your agent how to test agent and simulate customer questions how to V conversation history and analytics for your agent all of that in about 10
minutes without any further Ado let's get [Music] started all right so before we start let me show you the document that we'll be using thing as the data source this is budget of the US government and it's 188 pages long so to get started we'll go to cloud.google.com uh log in with your account and click on console from the console click search for agent Builder click on agent Builder before creating a new app make sure that the vertex AI API and the dialog flow apis are enabled if they're not enabled get a prompt and then
you can enable it on the screen select chat and provide the company name provide the agent name click continue we'll create a data store this is where we can create a data store click on create data store you get three options here you can provide a website URL and it will automatically crawl website content from a list of domains that you defined you can provide the data from your storage bucket or you can import data manually by calling the API I'll select the cloud storage and um you can import a folder or you can import
a file I'll select file and head browse I created this bucket earlier where I uploaded that PDF document that I showed you uh I've already uploaded uploaded it um but for your case you can upload any document to your uh cloud storage and you'll be able to select it from here click select so PDF html text files CSV Word document and presentation files fall under the unstructured documents now you can use that as the data source or you can use Json L for unstructured documents with metadata information and click on this link for more information
or you can use CSV file for structured um frequently Asked data this is only for chat but for our example we're going to be using the unstructured document click on continue I'm going to name the data store us um budget 2025 25 and click on create it's going to create the data store okay so it created a data store I will select the data store and click on create okay so the data store has been created over here I can click on over um on this link uh to see more information um on this screen
I can see the activity and I need to make sure that data has been imported successfully with without any errors and we are using the digital parser now we can hit um preview to see the preview uh now we will test our agent uh testing is an important part of working with conversational agents to find box identify limitations and simulate a customer experience you can start an interactive session with your chat bot to see how it responds to various questions that a customer might ask click on the test agent Link at the top right hand
corner um this is where we can uh test the chat bot we can write hello and we have more control over customizing the response of the agent from this screen um we can enable logging um by going here and checking this enable conversational history by checking this box uh we will get the conversation history uh let's suppose we put this on our website and people interact with our chatbot and if you want to be able to see those interactions you need to check this box and hit save we click on manage click on integration let
me show you a very cool thing uh you can add a phone gateway to your Bot which will make use of speech to text and text to speech capabilities in the Google Cloud you can head on this manage uh button to enable that feature but for now I'm happy with the text uh chatbot and text based I can click on connect we can enable this unauthenticated API which means that will allow people without authentication to interact with the chat bot and I'll click on enable an authenticated API this is the code that you can use
to put on your website and you'll get the chatbot on your website so to see how it would look like click on try it now and you get this um you get this icon at the bottom uh right hand corner so you click on this and this is the chat box that you you can put on your website what are president's top priorities for year 2025 the chatbot read the document and responded with present stop economic prorities lowering cost for American families the administration is working to bring down the uh prescription drug cost health insurance
premiums utility bills cost for everyday Goods all while taking on junk fee studs some Airlines Banks and other companies use to rip off Americans and also it's grounded the data and if I click on this link it will show me exactly where it found that information from and as you can see it's on page nine and this is where the chatbot found that information is lowering cost for hardworking Americans the administration is working to bring down prescription dve cost health Assurance we're we are grounding it with our own data source so let me ask it
another question let me ask what has president invested in the president has invested in America and American people by signing into law historic legislation such as the American Rescue plan the bipartisan infrastructure law the chips uh and science Act and the inflation reduction act let me ask it another question like um what are some of the accomplishment of the Biden Administration the bid Administration has made historic Investments and mental healthc care including nearly 1 billion to support the 988 suicide and crisis Lifeline the administration is also committed to investing in training more mental health professionals
in his expanded certified community behavioral health clinics Nationwide when testing your virtual agent if you find that your bot's answers do not meet your expectations you can always add more URLs to the data source to improve how your Bot handles questions and answers you can add more URLs it can add more documents um other than testing many different paths the customer might make how else can you determine where the problem in friction points or in your version ual agent conversation history in analytics help uh so we enabled I showed you where you can enable that
uh conversation history under the agents I already enabled that and to get to that conversation history you can click on conversation history and this is where you're going to see the conversation history and I can click on any of these uh and it will show me uh my interaction with uh the chat bot I've asked it's going to show the history of my conversation and once you put that on your website and you would be able to see the interaction of your chat bot with your visitors website visitors congratulations using the verx AI conversation in
dialog flow CX you have successfully created a data store agent your virtual agent can answer hundreds of different questions about your website or any document PDF manual guides ebooks and reports at sector that you may have you don't have to go through the manual process of creating a large number of intense training phrases response messages we literally created this in less than 10 minutes this video was requested in the comment section by a few of my subscribers I read all of the comments and i' love to hear your thoughts um feel free to share your
ideas for upcoming videos if you don't have any questions or feedback you can support my work by just typing coding money in the comment section it really helps with the YouTube algorithms if you found this video useful a thumbs up would be highly appreciated stay tuned for exciting new videos to ensure you don't miss out please subscribe and hit the notification Bell icon you may also want to check out the video that pops up on the screen somewhere until next time thank you for watching