How to query index knowledge base and full knowledge base #19245
Closed
tommywolfheart
started this conversation in
General
Replies: 1 comment
-
Decided to go with agentic RAG. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I am implementing a RAG system. May I please find out how I go about implementing a system that can query both the knowledge base I created as well as the knowledge base that comes with the LLM. I have the following code:
This is quite good at responding when the question is related to the documents I used to generate the index. However when I ask something outside of the document, it gives a terrible answer. So what is the correct approach/architecture to allow the system to give good responses in either case?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions