Spaces:
Sleeping
Sleeping
Update test_web_rag.py
Browse files- test_web_rag.py +1 -1
test_web_rag.py
CHANGED
@@ -258,7 +258,7 @@ def get_docs_from_web(question, history, n_web_search, strategy):
|
|
258 |
if history:
|
259 |
question = get_new_question_from_history(history[0][0], question, history[0][1])
|
260 |
docs = ''
|
261 |
-
if strategy == '
|
262 |
docs = get_web_search_you(question, n_web_search)
|
263 |
else:
|
264 |
urls = get_google_search_url(get_google_search_query(question))[:n_web_search]
|
|
|
258 |
if history:
|
259 |
question = get_new_question_from_history(history[0][0], question, history[0][1])
|
260 |
docs = ''
|
261 |
+
if strategy == 'Normal Fast':
|
262 |
docs = get_web_search_you(question, n_web_search)
|
263 |
else:
|
264 |
urls = get_google_search_url(get_google_search_query(question))[:n_web_search]
|