mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-20 22:03:52 +00:00
Fix tool description in serpapi.ipynb (#30660)
Thank you for contributing to LangChain! - [x] Fix Tool description of SerpAPI tool: "docs: Fix SerpAPI tool description" - [ ] Fix SerpAPI tool description: - Tool description + name in example initialization of the SerpAPI tool was still that of the python repl tool. - @RLHoeppi --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
af66ab098e
commit
9c03cd5775
@ -106,9 +106,9 @@
|
||||
"from langchain_core.tools import Tool\n",
|
||||
"\n",
|
||||
"# You can create the tool to pass to an agent\n",
|
||||
"repl_tool = Tool(\n",
|
||||
" name=\"python_repl\",\n",
|
||||
" description=\"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.\",\n",
|
||||
"custom_tool = Tool(\n",
|
||||
" name=\"web search\",\n",
|
||||
" description=\"Search the web for information\",\n",
|
||||
" func=search.run,\n",
|
||||
")"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user