mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 14:18:52 +00:00
[Community]: Fixed DDG DuckDuckGoSearchResults Docstring (#22968)
- **Description:** A very small fix in the Docstring of `DuckDuckGoSearchResults` identified in the following issue. - **Issue:** #22961 --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
This commit is contained in:
parent
70761af8cf
commit
60ba02f5db
@ -40,13 +40,14 @@ class DuckDuckGoSearchRun(BaseTool):
|
||||
|
||||
|
||||
class DuckDuckGoSearchResults(BaseTool):
|
||||
"""Tool that queries the DuckDuckGo search API and gets back json."""
|
||||
"""Tool that queries the DuckDuckGo search API and gets back json string."""
|
||||
|
||||
name: str = "duckduckgo_results_json"
|
||||
description: str = (
|
||||
"A wrapper around Duck Duck Go Search. "
|
||||
"Useful for when you need to answer questions about current events. "
|
||||
"Input should be a search query. Output is a JSON array of the query results"
|
||||
"Input should be a search query. Output is a JSON string array of the "
|
||||
"query results"
|
||||
)
|
||||
max_results: int = Field(alias="num_results", default=4)
|
||||
api_wrapper: DuckDuckGoSearchAPIWrapper = Field(
|
||||
|
Loading…
Reference in New Issue
Block a user