Session-based Vector Stores
- Why
- Each user gets an isolated FAISS index
- Trade-off
- Uses more memory but prevents data leakage between users
- Alternative
- Shared store with tenant filtering (more complex)
Guide 04 — Case study
The design decisions, technical choices and lessons behind this RAG implementation, plus an honest list of what production would still need.
01 — Overview
RagXGen is a portfolio project built to demonstrate a working understanding of Retrieval-Augmented Generation: a complete implementation with clear architecture and an honest discussion of trade-offs.
The goal is to show employers, collaborators and AI leads the ability to build, evaluate and improve real systems, not just follow a guide.
02 — Tech stack
03 — Design decisions
04 — Lessons learned
Lesson 01
Basic RAG works surprisingly well. Add complexity only when needed.
Lesson 02
Too small = no context. Too large = noise. 1000 chars is a good starting point.
Lesson 03
The system prompt significantly affects response quality and grounding.
Lesson 04
Log retrieved chunks and scores to debug and improve the pipeline.
05 — Production
If this were deployed for real users, these come next.
Interested in RAG, AI engineering, or working together? The source is on GitHub, and the demo is one click away.