Yasu777 commited on
Commit
575d8dd
·
verified ·
1 Parent(s): 66e3c53

Update article_generator.py

Browse files
Files changed (1) hide show
  1. article_generator.py +2 -1
article_generator.py CHANGED
@@ -36,7 +36,8 @@ class EnhancedTavilySearchTool:
36
  'api_key': tavily_api_key,
37
  'query': query,
38
  'max_results': 5,
39
- 'detail_level': 'high'
 
40
  }
41
  response = requests.post('https://api.tavily.com/search', json=params)
42
  if response.status_code == 200:
 
36
  'api_key': tavily_api_key,
37
  'query': query,
38
  'max_results': 5,
39
+ 'detail_level': 'high',
40
+ 'search_depth': 'advanced'
41
  }
42
  response = requests.post('https://api.tavily.com/search', json=params)
43
  if response.status_code == 200: