Smart Librarian is a RAG (Retrieval Augmented Generation) system that recommends books based on user preferences. The project consists of several modules: backend (Express), worker (Redis + OpenAI), frontend (React/Vite), and Python scripts (ChromaDB).
git clone <repo-url>
cd Smart-LibrarianOPENAI_API_KEY=sk-...
REDIS_URL=redis://redis:6379
CHROMA_URL=http://chromadb:8000
CHROMA_COLLECTION=books
OPENAI_BUDGET_LIMIT_USD=5docker compose up -d --build- UI: http://localhost:5173
- API Backend: http://localhost:3001
- ChromaDB: http://localhost:8000
- Backend health check:
curl http://localhost:3001/api/health- Smoke test scripts:
cd scripts
python smoke_test.pyEducational project (lab/assignment).