mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 22:11:51 +00:00
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:
@@ -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"
|
||||
)
|
||||
|
@@ -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"
|
||||
)
|
||||
|
@@ -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"
|
||||
),
|
||||
|
@@ -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"
|
||||
),
|
||||
|
Reference in New Issue
Block a user