diff --git a/gpt_researcher/retrievers/tavily_search/tavily_search.py b/gpt_researcher/retrievers/tavily_search/tavily_search.py index 013a798db..5357398fe 100644 --- a/gpt_researcher/retrievers/tavily_search/tavily_search.py +++ b/gpt_researcher/retrievers/tavily_search/tavily_search.py @@ -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