Personalized LLM chatbot powered by Gemini with custom knowledge base
$ python app.py
> You: What did I work on last week?
> MyLLM: Based on your notes, you were working on
> the profile README updates and project docs review...
A Flask-based chat interface powered by Google's Gemini Pro. Supports a custom knowledge base (markdown / PDF documents) that the model references when answering — so you can chat with your own notes, project docs, or research papers.
- Gemini Pro backend with conversation memory
- Custom knowledge base (markdown, PDF, txt) with semantic retrieval
- Session handling and environment-based config
- API rate limiting for production-style usage
- Simple web UI + REST API
git clone https://github.com/MeGaurav4/MyLLM.git
cd MyLLM
pip install -r requirements.txt
echo "GEMINI_API_KEY=your_key_here" > .envpython app.py
# Open http://localhost:5000MIT