Lurker News
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?

Comments (156) 83 threads

Earlier comments
mooball#
i thought rag/embeddings were dead with the large context windows. thats what i get for listening to chatgpt.
baalimago1 reply#
I thought that context building via tooling was shown to be more effective than rag in practically every way?

Question being: WHY would I be doing RAG locally?

petesergeant#
For code, maybe? For documents, no, text embeddings are magical alien technology.
Strift#
I just use a web server and a search engine.

TL;DR: - chunk files, index chunks - vector/hybrid search over the index - node app to handle requests (was the quickest to implement, LLMs understand OpenAPI well)
I wrote about it here: https://laurentcazanove.com/blog/obsidian-rag-api

electroglyph#
simple lil setup with qdrant

Load more comments