Spaces:
Running
Running
NCTCMumbai
commited on
Update middlewares/utils.py
Browse files- middlewares/utils.py +1 -0
middlewares/utils.py
CHANGED
@@ -79,6 +79,7 @@ def gen_augmented_prompt_via_websearch(
|
|
79 |
elif search_vendor == "Bing":
|
80 |
print('[Bing search enabled]')
|
81 |
search_results = bingSearchClient.search(prompt, n_crawl)
|
|
|
82 |
print('[Bing search completed]')
|
83 |
if len(search_results) > 0:
|
84 |
reranked_results = rerank(prompt, top_k, search_results, chunk_size)
|
|
|
79 |
elif search_vendor == "Bing":
|
80 |
print('[Bing search enabled]')
|
81 |
search_results = bingSearchClient.search(prompt, n_crawl)
|
82 |
+
print(search_results)
|
83 |
print('[Bing search completed]')
|
84 |
if len(search_results) > 0:
|
85 |
reranked_results = rerank(prompt, top_k, search_results, chunk_size)
|