This is boilerplate code to use Gemini AI to get answers from a webpage.
Usage:
-
Generate your Gemini AI API key at https://aistudio.google.com/app/apikey
-
Create .env file in working direction and below line to this .env file
GEMINI_API_KEY = '<API_KEY>'
-
Run chatbot.py
pip3 install -r requirement.txt
python3 chatbot.py
-
Modify chatbot.py as per need.