Build a Smart Chatbot in MINUTES! Voiceflow KB + Gemini Pro Integration for Optimized Responses

  Рет қаралды 1,707

Farthink AI

Farthink AI

6 ай бұрын

Want to build a chatbot that actually understands your users? Look no further! In this video, you'll learn how to create a powerful chat assistant using Voiceflow and integrate it with the cutting-edge Gemini Pro model for optimized responses.
Here's what you'll learn:
No/Low-code chatbot building with Voiceflow: Master the basics of building conversational flows with no or low code.
Fetching data with ease: Leverage Voiceflow's powerful example function to seamlessly retrieve information from your knowledge base.
Boost response quality with Gemini Pro: Supercharge your chatbot's responses by integrating with the AI-powered Gemini Pro model for natural and optimized language. ✨
This video is perfect for:
Developers: Learn a new, low-code approach to chatbot development.
Content creators: Enhance your audience engagement with a smart chatbot.
Business owners: Automate customer service and improve communication with your clients.
Keywords: #chatbot, #Voiceflow, #Gemini Pro, #AI, #natural language processing, #knowledge base, #no-code, #machine learning, #customer service, #content creation, #automation.
*********************************
AI Modles:
• Gemini 1.5 Pro: • Unleash the Power of G...
• Gemini 1.5 Flash: • Supercharge Your Chatb...
• Gemini Pro: • Elevate Your Voiceflow...
• Gemini Pro Vision: • Elevate Your Voiceflow...
• Mistral 7B: • No-Code AI Chatbot! Bu...
• Mistral Mixtral 8x7b: • Build a FREE AI Chatbo...
• Mistral Large: • Supercharge Your Chatb...
• Gemini VS Mistral AI: • Gemini vs Mistral: AI ...
• Stable Diffusion XL (Text2Image): • No-Code AI Chatbot! Bu...
• Meta Llama 3: • Dive into the Future o...
Automation:
• Make: • Create an AAA ChatBot:...
• Notion: • Create an AAA in Voice...
• Zapier: • Automate Lead Gen! Cha...
• Google form: • Revolutionize Your Sur...
• Calendly: • Boost Your AI empowere...
Knowledge Base:
• KB: • Build a Smart Chatbot ...
• KB with function: • Mastering Voiceflow Fu...
• KB with {_memory_}: • No-Code AI Chatbot! Bu...
• KB with {vf_memory}: • Build a FREE AI Chatbo...
• KB + {vf_memory} + Llama 3: • Level Up Your Chatbot!...
• KB + {vf_memory} + Gemini 1.5 Pro: • Supercharge Your Chatb...
• KB + conversation history + Mistral Large: • Supercharge Your Chatb...
• KB + Live web content + Mistral Large: • Supercharge Your Voice...
• KB + User defined content + Gemini 1.5 Flash: • Supercharge Your Chatb...
Voiceflow Basic:
• Auto popup, proactive massage, form extension, web integration: • Voiceflow chatbot: int...
• Text Block: • Mastering Voiceflow Te...
• Image Block: • Mastering Voiceflow Im...
• Functions Block: • Mastering Voiceflow Fu...
• Save ordering time and date: • Create a ChatBot with ...
• Dynamic Carousal: • Create an AAA with Voi...
• Dynamic cards and lead generation: • Create a Bot in Voicef...
• KZbin video: • Supercharge Your Voice...
• Product recommendation and Stripe payment link: • Voiceflow Chatbot Prod...
• Display image, audio and video: • Level Up Your Voiceflo...
• Upload files: • Add File Upload to You...
• Custom chatbot CSS style: • Level Up Your Voiceflo...
Data Base:
• Airtable: • Master Voiceflow API C...
• Notion: • Create an AAA in Voice...
• Zapier: • Automate Lead Gen! Cha...
• Google Sheet 1: • Create a Bot in Voicef...
• Google Sheet 2: • Create an AAA with Voi...
• Google Sheet 3: • Create a ChatBot with ...

Пікірлер: 64
@themessengerofgood
@themessengerofgood Ай бұрын
This is the best channel about chatbost and voiceflow!!! Thank you for all what you do!
@FarthinkAI
@FarthinkAI Ай бұрын
Wow, thank you!
@misueldoenlinea
@misueldoenlinea 3 ай бұрын
I have followed everything exactly and everything gives me 0 results... Two doubts: it will always continue to be free or will we have to pay at some point... The other question has to do with me or the fact that I am using it in Spanish, the knowledge base is in Spanish and the questions in Spanish are in Spanish, sorry if they are naive questions, I am learning
@FarthinkAI
@FarthinkAI 3 ай бұрын
The free version should work fine. You may check the chunk data to make sure the opening and closing quotation marks are paired. This has happened for many audiences.
@misueldoenlinea
@misueldoenlinea 3 ай бұрын
I can market a job done with Gemini 1.5 pro. It is working well for me but I am worried about the error that disconnects when it reaches that quota... can you guide me please?
@FarthinkAI
@FarthinkAI 3 ай бұрын
Currently, there is a rate limit of 60 requests per minute. In your case with heavy usage, my suggestion is that in your chatbot you may use two APIs from two Google accounts. You may monitor the number of requests of one API. When it reaches the rate limit, switch to the other API to return the answer to the user. Hope this helps.
@dandeigan
@dandeigan 2 ай бұрын
Hey @farthinkai, another question, how did you create a variable?
@FarthinkAI
@FarthinkAI 2 ай бұрын
You may watch our previous videos in the playlist: kzbin.info/www/bejne/bpfMZ2iOad-FhNU&pp=gAQBiAQB
@e-Course.
@e-Course. 3 ай бұрын
please make video for Voiceflow KB + Gemini 1.5 new one will be so helpful
@FarthinkAI
@FarthinkAI 3 ай бұрын
Will make one.
@e-Course.
@e-Course. 3 ай бұрын
@@FarthinkAI thank you so much 😊
@freyjauser
@freyjauser 3 ай бұрын
Thanks for this tutorial, I just have a question! If I'm using Open AI API, it's roughly the same steps right?
@FarthinkAI
@FarthinkAI 3 ай бұрын
Yes, it is.
@freyjauser
@freyjauser 3 ай бұрын
​@@FarthinkAI So far, the chunk retrieval and everything is working, but I'm getting a message saying "API call error - {"status":400, ...{ "message":"We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly). The OpenAPI API expects a JSON payload, but what was sent was not valid JSON0."
@FarthinkAI
@FarthinkAI 3 ай бұрын
You may check the chunk data to make sure the opening and closing quotation marks are paired. This has happened for many audiences.
@FarthinkAI
@FarthinkAI 3 ай бұрын
You may check the chunk data to make sure the opening and closing quotation marks are correctly paired. This has happened for many audiences.
@misueldoenlinea
@misueldoenlinea 3 ай бұрын
It's excellent but I'm already stuck, in the integrations part where you have to take the knowledge base api, it's not there, I only get qwebchat and api keys... I don't get the knowledge base api
@FarthinkAI
@FarthinkAI 3 ай бұрын
Now the primary key is the knowledge base api key
@MazingaAI
@MazingaAI 4 ай бұрын
I'm getting error. I think its due to the substring issue. Where do you put the substring?
@MazingaAI
@MazingaAI 4 ай бұрын
I can't find place to remove the square brackets on the firsts and last position as mentioned on the video on 11:25
@MazingaAI
@MazingaAI 4 ай бұрын
{status":400,"data":{"error": {code":400,"message":"Invalid JSON payload received. Expected or} after key:value pair. sed on the employer's provisions. New ZE status":"h3=":443"; ma=2592000,h3-29="443";ma=2592000","cache-control":"private","connection":"close","content-encoding":"gzip","content-type":"application/json;charset=utf.....
@FarthinkAI
@FarthinkAI 4 ай бұрын
You may check your chunk data. Some times the data from the KB have double quotation marks, which can cause wrongly paired.
@dandeigan
@dandeigan 2 ай бұрын
Also, I can not find your VF API key video. Do you have one for that?
@FarthinkAI
@FarthinkAI 2 ай бұрын
Now the only API key can be used as the KB API key.
@dandeigan
@dandeigan 2 ай бұрын
@@FarthinkAI I have been through this video a few times and am getting an error that I was hoping you might have some insight on. It says Unable to resolve code - "ReferenceError: prompt is not defined" Any ideas? I am sure it's something minor.
@dandeigan
@dandeigan 2 ай бұрын
So I eliminated the concatenating step, and the bot worked. Did you have specific instructions for that concatenating step?
@FarthinkAI
@FarthinkAI 2 ай бұрын
You may need to create the prompt variable before using it.
@MedicalGrace
@MedicalGrace 3 ай бұрын
Great again. I am following these videos. thanks a lot. but I have a problem. With gemini, how can I add memory. So the agent can establish context. without memory, It is not useful unfortunately
@FarthinkAI
@FarthinkAI 3 ай бұрын
Please watch these videos on memory: kzbin.info/www/bejne/a6C7Zoebpa-AfqM kzbin.info/www/bejne/roLadJiGfcp1iKM
@MedicalGrace
@MedicalGrace 3 ай бұрын
@@FarthinkAI Can I apply it Gemini?
@FarthinkAI
@FarthinkAI 3 ай бұрын
Yes.
@alphadiallo5934
@alphadiallo5934 3 ай бұрын
Great video, please tell me Is the Gemini API free?
@FarthinkAI
@FarthinkAI 3 ай бұрын
Yes, it is
@real-ai-been
@real-ai-been 6 ай бұрын
Hey, you've been putting out great contents. Keep up the good work! By the way, where can I send you business inquiry?
@FarthinkAI
@FarthinkAI 6 ай бұрын
Thank you! Will set up a consulting service soon, and put the contact info in the description.
@khalidkifayat
@khalidkifayat 6 ай бұрын
hi very informative !! can u ellaborate in detail , the consumption of tokens used in this tutorial of Gemini Pro (this) VS Openai 3.5 turbo (if used) ?? how much is the difference ?? Other Pros & Cons Thanks
@FarthinkAI
@FarthinkAI 6 ай бұрын
The tokens used depends on the AI models, and also maybe the prompt used. I have not looked into it yet. Will need to check. Thanks for the discussion.
@sakshishruti4482
@sakshishruti4482 5 ай бұрын
i can't find body tab in api. What to do?
@FarthinkAI
@FarthinkAI 5 ай бұрын
You may change the API type to POST instead of GET.
@bstuckel
@bstuckel 6 ай бұрын
Great tutorials! I am just testing this all out currently and want to try and stay on the free version of Voiceflow. Is there an alternative to the javascript prompt to concatenate the prompt and the chunk data? Javascript blocks are pro-user only feature. Thank you.
@FarthinkAI
@FarthinkAI 6 ай бұрын
Yes. You may add the prompt in the function, and return it together with the chunk data after concatenating the prompt with the chunk.
@renveer7350
@renveer7350 5 ай бұрын
Hey @@FarthinkAI hope you are well. Could you please tell us where to add it in the function?
@FarthinkAI
@FarthinkAI 5 ай бұрын
Yes. Right before you return the chunk, you may use: chunk = prompt + chunk.
@TheUser357u
@TheUser357u 4 ай бұрын
I can only see the standard api key in integration settings not the knowledge base api key
@FarthinkAI
@FarthinkAI 4 ай бұрын
Click the integration icon, and click the API keys, and you will see the primary key, which is the knowledge base api key
@gtxprime
@gtxprime 6 ай бұрын
While testing the function I ak getting empty chunks chunks [ ] Please help me. I am not using URLs but using .docx as my database
@FarthinkAI
@FarthinkAI 6 ай бұрын
On the VF docs, it says: "add as many PDFs, URLs, or Text files as you want", which does not include docx. learn.voiceflow.com/hc/en-us/articles/15965626139149-Step-2-Add-Data
@gtxprime
@gtxprime 6 ай бұрын
@@FarthinkAI you can upload docx as database. docx is working fine with inbuilt system but when I try it with Gemini it doesn't work but after hosting same database on a website and providing it's url to train it starts working 😞
@mohamedmoussa8615
@mohamedmoussa8615 5 ай бұрын
why it returns 0 with the answer and the chunks []
@FarthinkAI
@FarthinkAI 5 ай бұрын
It looks like the chunks are empty, and the answer variable is also empty.
@mohamedmoussa8615
@mohamedmoussa8615 5 ай бұрын
@@FarthinkAI do you have any idea why i got this error, because i get the same error with the mistral 7b and mixtral 8x 7b too
@FarthinkAI
@FarthinkAI 5 ай бұрын
If so, you may debug, and make sure the chunks variable has correct data.
@mohamedmoussa8615
@mohamedmoussa8615 5 ай бұрын
please share the JSON structure in the comments
@FarthinkAI
@FarthinkAI 5 ай бұрын
response.candidates[0].content.parts[0].text
@user-jt7gz6df8t
@user-jt7gz6df8t 3 ай бұрын
Please send templates
@FarthinkAI
@FarthinkAI 3 ай бұрын
Will set up a link.
@FarthinkAI
@FarthinkAI 3 ай бұрын
drive.google.com/file/d/1Tx0SPibtImJTXRVp8Rm83vPmazv-zTIM/view?usp=sharing
@paul7721
@paul7721 6 ай бұрын
Tried to follow along and received an error at the end. Says "ReferenceError: prompt is not defined." Not sure what I did wrong here. Code: prompt += chunks.substring(1, chunks.length - 1); Body { "contents": [ {"role":"user", "parts":[{ "text": '{question}'}]}, {"role": "model", "parts":[{ "text": '{prompt}'}]}, {"role": "user", "parts":[{ "text": 'Please find {question} using the provided information.'}]}, ] } Capture Response: response.candidates[0].contents.parts.[0].text
@FarthinkAI
@FarthinkAI 6 ай бұрын
Have you created the variable "prompt"? You may check the list of variables to make sure it is there.
@paul7721
@paul7721 6 ай бұрын
@@FarthinkAI Just added it as that was part of the problem. Now it is saying API Call error status 400. Invalid JSON payload received.
@FarthinkAI
@FarthinkAI 6 ай бұрын
You may check the chunks, and make sure the opening and closing quotation marks are paired. This has happened for many audience.
@paul7721
@paul7721 6 ай бұрын
@@FarthinkAI I'm not sure how to check that. Is it possible for you to send me your template?
@Mr6499
@Mr6499 6 ай бұрын
hello, good work ;) I'm hoping to make it work. I keep getting this API call error with invalid JSON payload received. any idea ?? [API call error - {"status":400,"data":{"error":{"code":400,"message":"Invalid JSON payload received. Expected , or } after key:value pair. positions Marc's offerings as innov ^","status":"INVALID_ARGUMENT"},"VF_STATUS_CODE":400,"VF_HEADERS":{"alt-svc":"h3=":443"; ma=2592000,h3-29=":443"; ma=2592000","cache-control":"private","connection":"close","content-encoding":"gzip","content-type":"application/json; charset=UTF-8","date":"Tue, 30 Jan 2024 13:27:01 GMT","se...]
@FarthinkAI
@FarthinkAI 6 ай бұрын
As shown in the video, you may use single quotation marks (') instead of double quotation marks (") to wrap up the variable, and check the returned chunk data to ensure the opening and closing quotation marks are paired.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 207 М.
Harley Quinn's desire to win!!!#Harley Quinn #joker
00:24
Harley Quinn with the Joker
Рет қаралды 8 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3 МЛН
Build AI-powered Gemini + Google Workspace solutions
43:39
Google Workspace
Рет қаралды 4,7 М.
Why is anti-immigration sentiment on the rise in Canada?
13:00
The Guardian
Рет қаралды 1,7 МЛН
How to Build AI ChatBot with Custom Knowledge Base in 10 mins
10:46
It Started: Stock Up On These Items ASAP
14:28
Journey With The Hintons
Рет қаралды 169 М.
Using Different Languages in Voiceflow
5:41
Voiceflow
Рет қаралды 6 М.
AI Pioneer Shows The Power of AI AGENTS - "The Future Is Agentic"
23:47
How to automate Google Workspace tasks with Gemini
43:26
Google Workspace
Рет қаралды 3 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 368 М.
Harley Quinn's desire to win!!!#Harley Quinn #joker
00:24
Harley Quinn with the Joker
Рет қаралды 8 МЛН