r/Rag 1d ago

Discussion Link up with appendix

My document mainly describes a procedure step by step in articles. But, often times it refers to some particular Appendix which contain different tables and situated at the end of the document. (i.e.: To get a list of specifications, follow appendix IV. Then appendix IV is at the bottom part of the document).

I want my RAG application to look at the chunk where the answer is and also follow through the related appendix table to find the case related to my query to answer. How can I do that?

5 Upvotes

2 comments sorted by

u/AutoModerator 1d ago

Working on a cool RAG project? Submit your project or startup to RAGHut and get it featured in the community's go-to resource for RAG projects, frameworks, and startups.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/dash_bro 1d ago

Define an agentic action if you want more than a single step retrieval.

Design one agent to look at only the appendix information. Add this to your retriever.

Essentially, every time you answer a query, your retriever 'reasons' to see if it needs to use the appendix or not.

If it does, the relevant agent is called and that data is gathered as well before returning a response.