Wajahat698 commited on
Commit
d034fd5
·
verified ·
1 Parent(s): c257f52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -1191,16 +1191,15 @@ def cache_response(query, response, ttl=3600):
1191
 
1192
 
1193
 
1194
- # tavily_tool = TavilySearchResults(
1195
- # max_results=13,
1196
- # search_depth="advanced",
1197
- # include_answer=True,
1198
- # include_images=True,
1199
- # include_raw_content=True,
1200
- # exclude_domains=['example.com'],
1201
- # )
1202
- search = TavilySearchAPIWrapper()
1203
- tavily_tool = TavilySearchResults(api_wrapper=search)
1204
 
1205
  # def validate_tavily_results(query):
1206
  # """
 
1191
 
1192
 
1193
 
1194
+ tavily_tool = TavilySearchResults(
1195
+ max_results=13,
1196
+ search_depth="advanced",
1197
+ include_answer=True,
1198
+ include_images=True,
1199
+ include_raw_content=True,
1200
+ exclude_domains=['example.com'],
1201
+ )
1202
+
 
1203
 
1204
  # def validate_tavily_results(query):
1205
  # """