HACKER Q&A
📣 tmaly

How are you doing RAG locally?


I am curious how people are doing RAG locally with minimal dependencies for internal code or complex documents?

Are you using a vector database, some type of semantic search, a knowledge graph, a hypergraph?


  👤 eajr Accepted Answer ✓
Local LibreChat which bundles a vector db for docs.

👤 rahimnathwani
If your data aren't too large, you can use faiss-cpu and pickle

https://pypi.org/project/faiss-cpu/


👤 motakuk
LightRAG, Archestra as a UI with LightRAG mcp

👤 whattheheckheck
Anythingllm is promising

👤 ramesh31
SQLite with FTS5

👤 nineteen999
A little BM25 can get you quite a way with an LLM.