Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1191,16 +1191,15 @@ def cache_response(query, response, ttl=3600):
|
|
| 1191 |
|
| 1192 |
|
| 1193 |
|
| 1194 |
-
|
| 1195 |
-
|
| 1196 |
-
|
| 1197 |
-
|
| 1198 |
-
|
| 1199 |
-
|
| 1200 |
-
|
| 1201 |
-
|
| 1202 |
-
|
| 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 |
# """
|