~/siddharth/
CHANGELOG.md · 6 stops · mar 2025 → now←/→ walk the route
drop a photo. the mountain on the map will be yours.

Multi-site chatbot backend

2025 · POSIMYTH

My first RAG chatbot only knew one product's documentation. I wanted a reusable service: give it any website, and it builds a chatbot that knows that site, with each client's data kept fully separate.

how it works

A client submits a website or sitemap URL. The service crawls up to 1,000 pages, scrapes each one and stores the embeddings in a knowledge base that belongs only to that client. Submitting the same URL again skips the rebuild. When a question comes in, it searches that client's knowledge base, sends the most relevant pages to GPT-4 and returns the answer with its sources.

status

Backend fully built. The per-client chat endpoint needs a small fix before it's deployed.

what I learned

Going from one knowledge base to many forced me to think about data isolation, avoiding needless re-indexing, and showing long-running jobs to the user.

Python · FastAPI · Requests · BeautifulSoup · Selectolax · Sentence-Transformers · FAISS · SQLite · OpenAI GPT-4

← back to work.git