Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 399 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 399 Bytes

geminiai-boilerplate

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.