langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Is not a valid tool, try another one.

Open InfinitySoftware-House opened this issue 2 years ago • 5 comments

Hi! I am using GPT4All with agents and Wikipedia as a tool. I'm getting this error: is not a valid tool, try another one..

I have noticed that in the action there is that: Action: Use Wikipedia to confirm the accuracy of this information. I think it should be Action: wikipedia.

InfinitySoftware-House avatar Apr 29 '23 13:04 InfinitySoftware-House

Please provide working code that can reproduce this issue.

PawelFaron avatar May 04 '23 13:05 PawelFaron

+1

kevinhelvig avatar May 09 '23 12:05 kevinhelvig

Seems like that LLaMA 7B parameters is not enough to generate a correct output with the real Action name. I tried OpenAI models and they works as expected.

InfinitySoftware-House avatar May 11 '23 17:05 InfinitySoftware-House

Doesn't work with vicuna-13b either.

mingfang avatar May 15 '23 07:05 mingfang

as issue as https://github.com/hwchase17/langchain/issues/1559

mikeyang01 avatar May 31 '23 08:05 mikeyang01

Hi, @InfinitySoftware-House! I'm Dosu, and I'm here to help the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

Based on my understanding of the current state of the issue, you reported an error message and suggested changing the action from "Use Wikipedia" to "wikipedia" as a potential resolution. PawelFaron asked for working code to reproduce the issue, and kevinhelvig added a +1. You mentioned that the LLaMA 7B parameters are not enough to generate a correct output, but OpenAI models work as expected. mingfang reported that it doesn't work with vicuna-13b either, and mikeyang01 referenced another related issue.

Before we proceed, could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on this issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding and contribution to the LangChain project. If you have any further questions or concerns, please let me know.

dosubot[bot] avatar Sep 17 '23 17:09 dosubot[bot]