mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-30 17:29:56 +00:00
community[patch]: Update bing results tool name (#16395)
Make BingSearchResults tool name OpenAI functions compatible (can't have spaces). Fixes #16368
This commit is contained in:
parent
de209af533
commit
85e8423312
@ -31,7 +31,7 @@ class BingSearchRun(BaseTool):
|
||||
class BingSearchResults(BaseTool):
|
||||
"""Tool that queries the Bing Search API and gets back json."""
|
||||
|
||||
name: str = "Bing Search Results JSON"
|
||||
name: str = "bing_search_results_json"
|
||||
description: str = (
|
||||
"A wrapper around Bing Search. "
|
||||
"Useful for when you need to answer questions about current events. "
|
||||
|
Loading…
Reference in New Issue
Block a user