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

RAG support agent

2025 · POSIMYTH

The support team answered the same product questions again and again, and the answers already existed in our documentation. Sending all of it to an LLM wasn't possible: it was far too large for a context window. The real problem was picking the 3 to 5 pages that matter for each question.

building the knowledge base

answering

built around it

what I learned

Retrieval quality decides answer quality. Structured scraping, overlapping chunks, building the index once and capping the context were the biggest wins across about six versions.

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

← back to work.git