Building a Multilingual RAG Document Assistant with FastAPI, FAISS and Ollama

imABDRAOUF · reddit · 2026-09-12

To learn RAG systems, the author built and open-sourced CloudRAG (GitHub: abderaoufsec/CloudRAG).

Flow: documents → chunking → embeddings → FAISS → retrieved chunks → Ollama → answer. It supports PDF, TXT and DOCX and returns the sources used. Stack: Python, FastAPI, React, SentenceTransformers, FAISS, Ollama, SQLite, Docker.

The author added retrieval evaluation and testing to check retrieval quality rather than just whether an answer was produced; a Qdrant Cloud deployment failed, so the working version uses local FAISS. Biggest takeaway: RAG isn't just the LLM — chunking, embeddings and especially retrieval quality matter enormously.

Original post →

More from coding & agent

coding & agent channel →