Everytime you ask a concept to chatbot, it gonna confuse you with an explanation that's way out of your understanding or too simple to be useless. Turns out that I can solve our universal issue!
Simply, adjust the slider based on your desired level of explanation (1 - Kudos babyy!; 5 - Hello, Einstein!). Everything inbetween acts as side-characters with SIMPLE to MEDIUM level explanations.
Not just explanations, pairing it up with example, so you can wrap the concept around your head better this time than smashing the keyboard once again, bombing chatgpt with your vocabulary skills! LEAVEMEALONE - CHEAT ACTIVATED for CHATGPT
Enough of marketing, just use it here : https://the-professor-chatbot.onrender.com/
- Explanation & Example gets generated each time
- Easy on your device, not yet another overengineered website, pure html & css only!
- HTML, CSS, Python (yes, you seen it right, its not JS, its PYTHON🐍)
- Flask
- Gemini API (Latest Model)
- Render (for hosting the flask server online)
- Clone the repository (https://github.com/g-wtham/the-professor-chatbot)
- Locate the root directory and open CMD in this path.
- Type
pip install -r requirements.txt
. This will install all the required packages needed to run this on your local machine [flask, google-generativeai, python-dotenv, gunicorn (for production server)] - Now, you need to get an API Key to use your own Gemini API, create a new file named .env, add this into the file
export GEMINI_API_KEY=your_api_key_here
, replace with your api key. - Go to
(https://aistudio.google.com/app/apikey)
to get your own gemini api key, which can be tracked in your google cloud console. No worries, there's some free api limit, enjoy! - After replacing the api key, now go to the root directory in cmd of this project, type in the command
flask run
to start your local flask server or run thispython app.py
- You will now have your own local version of this project running at
http://127.0.0.1:5000/
. - Don't forget to Ctrl+C to end your flask server service, but never stop hitting Ctrl+C as a dev😛