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
7 changed files with 7 additions and 7 deletions

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"
),