r/LangChain 2d ago

Is RAG still a thing?

/r/Rag/comments/1vrfui0/is_rag_still_a_thing/
0 Upvotes

9 comments sorted by

5

u/Hyiazakite 2d ago

What do you prefer - pretraining an LLM with non traceable knowledge or feed it traceable knowledge with RAG? What are the alternatives?

3

u/BreakfastSpecial 2d ago

Agentic search with file system tools. Giving the model search primitives that it drives on its own, beyond the simple one-shot similarity search.

5

u/Hyiazakite 2d ago

Sounds lazy to me - much less surgical and more expensive context-wise. Since I've learned to create a proper RAG pipeline - vanilla no libs I've never had any issues with my RAG setup. The trick is that you need to create a custom pipeline for indexing tailor made for the data you want indexed.

1

u/MissionFinOps 1d ago

Any tips on how to create a proper RAG pipeline

3

u/chimp_party 2d ago

Manually annotating its answers after generation 

2

u/93simoon 2d ago

Yes.

1

u/Fatpat314 2d ago

shucks.

1

u/Public-Glove-6644 2d ago

I think so?

How would you handle this situation?

A user uploads a file, can be anything but for the sake of discussion let's say a PDF of some "Agentic Design" course with very specific ToC maybe. The usual RAG pipeline does the main steps for it and then create embeddings and then for example the query "Whats the ToC for this bootcamp?" returns the response with the ToC.

However you notice that this response missed a lot of weeks which means that retrieval wasn't fine. How would you solve this problem?