Chain conversational_retrieval_chain expects multiple inputs, cannot use 'run' #376
-
Chain conversational_retrieval_chain expects multiple inputs, cannot use 'run' How can i resolve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hello, I have exactly the same issue. I am doing something very similar. Thank you for your response. |
Beta Was this translation helpful? Give feedback.
-
you can only use |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
But how to use return source documents in this flow? |
Beta Was this translation helpful? Give feedback.
I had the same Problem. The Error is in the Fact that there is a ConversationalQ&Q-Chain and a normal RetrivalQ&Q-Chain. The Conversational Chain has a LLM baked in i think? The other one can be used as a Tool for Agents.
I used mine so my Agent can use the Pinecone VetorBase of me shouldh he need to load some Information into the buffer memory. As far as i can tell You can not use a Conversational Retrival and a Agent at the same time. Here is a working example:
Hope this fixes your Problem and have a good one!
I also posted a working Example on the official FlowiseAI Discord you can just download and use it. Just search for "Memory via chain tool for QnA chat" its a Thread you will fin…