Skip to content

MeGaurav4/MyLLM

Repository files navigation

MyLLM

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...

Overview

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.

Features

  • 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

Tech Stack

Python Flask Gemini License

Installation

git clone https://github.com/MeGaurav4/MyLLM.git
cd MyLLM
pip install -r requirements.txt
echo "GEMINI_API_KEY=your_key_here" > .env

Usage

python app.py
# Open http://localhost:5000

License

MIT

About

Personalized LLM chatbot powered by Gemini AI that learns and responds based on your custom knowledge base.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors