Replies: 1 comment
-
You could try to create an agent that has access to several tools one of them is a RAG chain. Or you could try doing RAG first and it can't answer the question, then forward the question to an agent that has other tools but not the vectorstore. |
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
-
Hello, I made a model of openai using langchain that will communicate with my documents, however I have one question, I would like for the model to behave as such that if it does not find the question in documents to consult its general knowledge, what do I mean by this?
Lets say I have two models, one is chat model, another uses vector store and reads from files.
This is the code i use
Beta Was this translation helpful? Give feedback.
All reactions