-
Question Validation
QuestionHi , I want to try and build multi-document RAG to support questions across several relevant docs. I see some good example here link I wonder if there is some another technique for multi-document case . Now I am using ReactAgent with several tools. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
🤖 Hello @snassimr, It's great to see you again and I'm glad to see you're exploring multi-document Retrieval-Augmented Generation (RAG) with LlamaIndex. There are indeed several techniques you can use to build a multi-document RAG, and I'm glad you found the example in the tutorial helpful. Here are some additional techniques you might find useful:
Regarding your use of ReactAgent, it's a class that uses a ReAct prompt for both chat and text completion endpoints. It can take in a set of tools that require structured inputs. You can find more details in our ReactAgent documentation and use cases. I hope this helps! If you have any more questions or need further clarification, feel free to ask. Best, Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
Fusion retrievers might be something to help with this: https://docs.llamaindex.ai/en/stable/examples/retrievers/simple_fusion.html |
Beta Was this translation helpful? Give feedback.
-
Hi @snassimr, Please check multi-document agents, this should help you build multi-document RAG. Thank you. |
Beta Was this translation helpful? Give feedback.
🤖
Hello @snassimr,
It's great to see you again and I'm glad to see you're exploring multi-document Retrieval-Augmented Generation (RAG) with LlamaIndex.
There are indeed several techniques you can use to build a multi-document RAG, and I'm glad you found the example in the tutorial helpful. Here are some additional techniques you might find useful:
Decoupling Chunks Used for Retrieval vs. Chunks Used for Synthesis: This technique involves separating the chunks used for retrieval from those used for synthesis. You can find more details in our production RAG guide.
Structured Retrieval for Larger Document Sets: This technique is useful when dealing with a large number of documents. It i…