Discussion about this post

User's avatar
Anindo Chakraborty's avatar

Subscribed! Superb article! lucid explanation with solid examples. Re read it twice. Thank you Nicolas! 👏👏

Expand full comment
Filip's avatar

Additionaly, Claude searches through code, which is a structured web of interrelated pieces that *must* be correctly setup in order for code to compile ie. work properly. Code is different from books, for example, where meaning and keywords relevance prevail in accuracy over structure.

In your example, I would agree that you're right, financial reports are structured, and you must take advantage of that structure. On the other hand you're still using RAG, with a more agentic approach.

The only alternative to RAG is fine-tuning. Even if you feed the model with the whole book you're still doing RAG - because you have to search for a relevant book to add to context and because you're augmenting the LLMs internal knowledge with external sources.

Expand full comment
20 more comments...

No posts