New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with using DDG as search tool #21045
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Comments
dosubot
bot
added
the
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
label
Apr 29, 2024
Can the complete code be provided? |
It stuck at this stage... you can see it as complete code |
Please ensure that you have updated to the latest version of
Maybe try this out: from langchain_community.tools import DuckDuckGoSearchRun
search_tool = DuckDuckGoSearchRun()
print(search_tool.invoke("who is the current prime minister of India")) Cheers, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checked other resources
Example Code
from langchain_community.tools import DuckDuckGoSearchRun
search_tool = DuckDuckGoSearchRun()
Error Message and Stack Trace (if applicable)
pydantic.v1.error_wrappers.ValidationError: 1 validation error for DuckDuckGoSearchAPIWrapper
root
deprecated() got an unexpected keyword argument 'name' (type=type_error)
Description
trying to use with crewai
System Info
can't
The text was updated successfully, but these errors were encountered: