Remove extra spaces (#11283)

### Description
When I was reading the document, I found that some examples had extra
spaces and violated "Unexpected spaces around keyword / parameter equals
(E251)" in pep8. I removed these extra spaces.
  
### Tag maintainer
@eyurtsev 
### Twitter handle
[billvsme](https://twitter.com/billvsme)
This commit is contained in:
zhengkai 2023-10-02 22:02:30 +08:00 committed by GitHub
parent 61cd83bf96
commit 3d859075d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@
"search = SerpAPIWrapper()\n",
"tools = [\n",
" Tool(\n",
" name = \"Current Search\",\n",
" name=\"Current Search\",\n",
" func=search.run,\n",
" description=\"useful for when you need to answer questions about current events or the current state of the world\"\n",
" ),\n",

View File

@ -63,7 +63,7 @@
"db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)\n",
"tools = [\n",
" Tool(\n",
" name = \"Search\",\n",
" name=\"Search\",\n",
" func=search.run,\n",
" description=\"useful for when you need to answer questions about current events. You should ask targeted questions\"\n",
" ),\n",

View File

@ -27,7 +27,7 @@ llm = OpenAI(temperature=0)
llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True)
tools = [
Tool(
name = "Search",
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events"
),

View File

@ -36,7 +36,7 @@ Set up any tools the agent may want to use. This may be necessary to put in the
search = SerpAPIWrapper()
tools = [
Tool(
name = "Search",
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events"
)

View File

@ -51,7 +51,7 @@ SERPAPI_API_KEY = getpass()
search = SerpAPIWrapper(serpapi_api_key=SERPAPI_API_KEY)
tools = [
Tool(
name = "Search",
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events"
)

View File

@ -13,7 +13,7 @@ db = SQLDatabase.from_uri("sqlite:///../../../../../notebooks/Chinook.db")
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
tools = [
Tool(
name = "Search",
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events. You should ask targeted questions"
),

View File

@ -9,7 +9,7 @@ db = SQLDatabase.from_uri("sqlite:///../../../../../notebooks/Chinook.db")
db_chain = SQLDatabaseChain.from_llm(llm1, db, verbose=True)
tools = [
Tool(
name = "Search",
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events. You should ask targeted questions"
),