Skip to content

Commit

Permalink
modified search to advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
assafelovic committed Nov 25, 2023
1 parent 8b52c9f commit 98f2209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_researcher/retrievers/tavily_search/tavily_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def search(self, max_results=7):
"""
# Search the query
results = self.client.search(self.query, search_depth="basic", max_results=max_results)
results = self.client.search(self.query, search_depth="advanced", max_results=max_results)
# Return the results
search_response = [{"href": obj["url"], "body": obj["content"]} for obj in results.get("results", [])]
return search_response

0 comments on commit 98f2209

Please sign in to comment.