diff --git a/langchain/tools/ddg_search/tool.py b/langchain/tools/ddg_search/tool.py index 2020b31340b..33b357cee1e 100644 --- a/langchain/tools/ddg_search/tool.py +++ b/langchain/tools/ddg_search/tool.py @@ -44,7 +44,7 @@ class DuckDuckGoSearchRun(BaseTool): class DuckDuckGoSearchResults(BaseTool): - """Tool that queries the Duck Duck Go Search API and get back json.""" + """Tool that queries the DuckDuckGo search API and get back json.""" name = "DuckDuckGo Results JSON" description = ( diff --git a/langchain/utilities/duckduckgo_search.py b/langchain/utilities/duckduckgo_search.py index f90fdf7fecf..4349d86f1dc 100644 --- a/langchain/utilities/duckduckgo_search.py +++ b/langchain/utilities/duckduckgo_search.py @@ -12,10 +12,9 @@ from pydantic.class_validators import root_validator class DuckDuckGoSearchAPIWrapper(BaseModel): """Wrapper for DuckDuckGo Search API. - Free and does not require any setup + Free and does not require any setup. """ - k: int = 10 region: Optional[str] = "wt-wt" safesearch: str = "moderate" time: Optional[str] = "y"