fix typo in web_research.py (#10076)

fix spelling
This commit is contained in:
jmhayes3 2023-09-01 00:19:03 -05:00 committed by GitHub
parent 3f8f3de28e
commit 324c86acd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ class WebResearchRetriever(BaseRetriever):
return query.strip() return query.strip()
def search_tool(self, query: str, num_search_results: int = 1) -> List[dict]: def search_tool(self, query: str, num_search_results: int = 1) -> List[dict]:
"""Returns num_serch_results pages per Google search.""" """Returns num_search_results pages per Google search."""
query_clean = self.clean_search_query(query) query_clean = self.clean_search_query(query)
result = self.search.results(query_clean, num_search_results) result = self.search.results(query_clean, num_search_results)
return result return result