crewAI
crewAI copied to clipboard
duckduckgo_search
from langchain_community.tools import DuckDuckGoSearchRun ddgs_search_tool = DuckDuckGoSearchRun()
Action: duckduckgo_search Action Input: {"q": "financial management and control within China's shipping industry"}
I encountered an error while trying to use the tool. This was the error: DuckDuckGoSearchRun._run() got an unexpected keyword argument 'q'. Tool duckduckgo_search accepts these inputs: A wrapper around DuckDuckGo Search. Useful for when you need to answer questions about current events. Input should be a search query.
The llm is misusung the tool. It shout be "query" not "q". The model doestnt read the error and fix itself zhe solution is a "smarter" model unfortunately
Is this due to hallucination? @noggynoggy
Is this due to hallucination? @noggynoggy
Hallucination is a broad term and by my definition this would not be that. I would just call this the model guessing what to do (as it always does) and being wrong. Hallucination is making up facts and being confident about those.
hmm.. how do you even term it? @noggynoggy jus asking out of kuriosity
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.