
Herbal Remedies Guide
FastAPI RAG system for my book on natural remedies
I recently launched Herbal Remedies Guide, an AI-powered Q&A system built around my book "The Little Handbook of Natural Remedies."
Built a RAG (Retrieval-Augmented Generation) system that:
- Processes my book content into semantic chunks
- Uses sentence transformers for vector embeddings
- Retrieves relevant context based on user questions
- Generates accurate answers with an LLM (Mistral)
Tech stack:
- Backend: Python + FastAPI with WebSocket support
- Frontend: React + TypeScript + Vite
- ML: Sentence Transformers for embeddings
- Deployment: Vercel
Business model: 3 free queries, then $5 one-time payment for unlimited access
What I learned:
- RAG systems are powerful but tuning the semantic search is tricky
- WebSocket chat feels way better than REST API for this use case
- Lazy-loading ML models saves significant startup time
About
I built Herbal Remedies Guide as an adjunct to my book "The Little Handbook of Natural Remedies". I created a RAG system that processes the book and uses semantic search + AI to give you accurate, context-aware answers.

Comment