[BUG] The Chain Tool is not working with the Conversational Retrieval QA Chain
Describe the bug
@HenryHengZJ please bear with me 1 min, since this issue is a bit tricky to understand.
The Chain Tool node does not work as expected when is conected to a Conversational Retrieval QA Chain.
The Agent can not use the Chain Tool to get any info from the Conversational Retrieval QA Chain. It is unclear if this is a issue with the Agent or the Chain Tool node itself.
To Reproduce
- Upload the attached flow (a Tool Agent conected to a Conversational Retrieval QA Chain via the Chain Tool). See bellow.
- Once loaded, try to make the Tool Agent to use the
Chain Toolby asking relevant questions. In this case; "What Tigermergente is all about?" - You will see that it gives you an empty response:
- If you force the Agent to use the
Chain Toolvia system message, then it will make up a response and will tell you that it cant use theTool Chain
- The
Tool Agent can see theChain Toolbut cant use it.
Expected behavior
Tool Agent uses the Chain Tool with no problem.
Flow
Setup
- Flowise is up to date.
@HenryHengZJ please help
Yes man, I saw your PR. Waiting for Henry comments.
What I don't understand is why using an OpenAI Function Agent as the base if this node being deprecated. Why not use the new Tool Agent that can work with both Claude and Gemini?
--
that's a good point @toi500 I wasn't aware of that agent is going to be deprecated.
I'll try to use the Tool Agent as the base agent and see if it works.
Thanks
@toi500 I've changed it to be based on ToolAgent,
Your comment was very effective, thanks 👏
You are the man! Thank you for ur great work here.