ChatGPT / BARD API - Build a FREE Chatbot in Python w/ Google Colab

preview_player
Показать описание

In this video, we build a Chatbot using Python programming on Google Colaboratory. Our Chatbot is powered by Google Bard and ChatGPT API. In fact, we build multiple versions of Chatbot: starting from a simplest Chatbot - powered by Bard API, to more smart & sophisticated Chatbot for custom use cases, like: Text Summarization, Resume Building, Mock Interviews, etc. Towards the end, we build a third Chatbot, using the ChatGPT API.

What we show you is a 100% working step-by-step process to build your Chatbot using Python. It's absolutely free - so you can follow along! So, whether you are a student looking for a resume pointer, or a professional wanting to have fun, this video is for you. Why are we using Google Bard API and not ChatGPT API - you may ask. Well, the answer is: Bard API is absolutely free to access - especially for learning purposes. So you guys can follow along and replicate it on your end.

--------------------------------------------------------------
Analytics Vidhya Courses - Enroll Now 🔥
--------------------------------------------------------------

--------------------------------------------------------------
Build a Chatbot - with Google Bard & ChatGPT API - in Python 🔥
--------------------------------------------------------------
There are essentially 3 things we'll do in this video:
1️⃣ Build a simple yet powerful first version of our Chatbot in Python - powered by the Google Bard API. This first step is absolutely beginner friendly.
2️⃣ Build a more sophisticated Chatbot for a custom use case, which is Text Summarization
3️⃣ Discuss ChatGPT API & how to build a Chatbot - for Text Summarization.

-----------------
Sections - Build a Chatbot 🔥
-----------------
00:00 Getting Started
00:32 Chatbot - 3 Versions
01:51 Simplest Chatbot w/ Bard API
04:40 Custom Chatbot: Text Summarizer
09:11 ChatGPT API
09:52 SUBSCRIBE 👍

-----------------
Reference Links 🔥
-----------------

Helps us reach out to more learners ❤️
🔥 Drop a comment to help the algorithm :)
👍 Subscribe to get notifications for the next video

-----------------
Tags 🔥
-----------------
Bard API
Self Learning Chatbot Python
ChatGPT API
Chatbot In Python
ChatGPT Open API
OpenAI's API
Build A Chatbot
ChatGPT Bot Python
API Chat GPT
Chatbot Project In Python With Source Code
Bot Builder
ChatGPT OpenAPI
Python Chatbot GitHub
Bot Building
Python Chatbot Project
Create Chatbot Using Python
Make A Chatbot
ChatGPT API Cost
ChatGPT Free API
Develop A Chatbot
GPT 3 APIs
Chat Bot Coding
Рекомендации по теме
Комментарии
Автор

This is interesting! Can't wait to try this.

Paul-iblu
Автор

Thank you for the video. It's really helpful.

Pradip_Deshmukh
Автор

one of the most informative videos out here, Thank you so much.
Question, I am working on a project to provide paid and free AI's for those of us in places such products aren't available or easy to access. I was curious as to how I can integrate these AI's into a website or bots in Telegram, or is it possible to follow these same steps on a website hosting servers?

habeshasports
Автор

Did create the files you used for this demonstration?
Secondly, is there special place we can get files in the event of doing use case scenario.

alibello
Автор

i have a doubt why i have to add all my data in prompt ? using bard cant i just question him based on the data i push.. just like open source ? am new to AI just curious

shubhamsrn
Автор

thank you much it's really helpful and i have some doubts about creation of chatbot please clear it

musicon
Автор

Are the APIs all the same.. i.e. is OpenAPI the same as the API used with Bard, Gemini, OpenAI's Assistant API, Au Mistral, Gemini Pro, llama2, FastAPI etc?

I'm interested in creating a Python application to do some basic OCR.. and if I use ChatGPT4 Assistant API (Vision/AI PDF Plugin) then I just pay the API costs whenever someone uses my application.

Alternatively, if host an open-source model like Ollama on my own computer or on the cloud (beam cloud/ Replicate/Streamlit/replit) then I would just pay for cloud? Is there a model that is already hosted and can be accessed without a paid subscription key?

For example, if my application uses a model on Google Colab what are the limitations?

bennguyen
Автор

I followed all the step which you have mentioned but I'm getting error (Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as can you please help me in that.

Pradip_Deshmukh
Автор

I'm working on a self-project and it needs a simple chatbot to help with productivity. How do I export this model so that I can use it on my application?

abdullahmehdi
Автор

Hi, I am testing Chatbot with chatgpt API, but it is showing error for response = get_completion(prompt) as now v1 is migrated to newer one. Can you help me with the code for latest version?

NewEraFb
Автор

Hello, Hope you do well. I used Google Colab and used you exactly and I get an error. Could you please help me I have no experience in coding. I don't know what is wrong.
I would greatly appreciate your help. Have a great day. Best regards Johan

soaringeagleproductions
Автор

sir is it possible to customize the chatbot so that it can only answer questions on agriculture

zedcodinacademibychinvia
Автор

Can we access the "input image" feature of the bard by making this API call? Also is there any option for fine-tuning available on the free version of bard??

sindhivishal
Автор

Sir i have one problem now it is showing that RAISE EXCEPTION BARD API KEY PROVIDED OR EXTRACTED FROM BROWSER.

Bard Api key must be provided or extracted from browser...


While still i have copied from The cookies .... Pls help pls help

lokeshart
Автор

when i run pip install bardapi and thenn try to import it return me module not found error i also restarted run time but no use, what to do sir help me ?

Curious_crew
Автор

I keep getting an exception "Bard API Key must be provided as token argument or extracted from browser."

paulamimaitra
Автор

i get an error when i try to use my cookie id, is it because it is turned to gemini?

gianniskonstantinidis
Автор

Can we build chatbot after training our deeplearning model and how can we execute that in google colab?, I am new to this field Can you please help me?

mfleoso
Автор

Getting "Response Error".
Unable to get response.
Please double-check the cookie values and verify your network environment or google account.

shritamkumarmund
Автор

Great video, when i try to import the BardApi i get this.
ModuleNotFoundError: No module named 'bardapi'
I have done the pip install bardapi
Please help 😇

priimeone