Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def call_search(purpose, task, history, action_input):
|
|
| 62 |
print (return_list)
|
| 63 |
history = "observation: the search results are:\n {}\n".format(return_list)
|
| 64 |
else:
|
| 65 |
-
history = "observation: I need to trigger a search using the following syntax:\naction: SEARCH action_input
|
| 66 |
except Exception as e:
|
| 67 |
print (e)
|
| 68 |
history = "observation: The search query I used did not return a valid response, I should try a different query from the list of options\n"
|
|
|
|
| 62 |
print (return_list)
|
| 63 |
history = "observation: the search results are:\n {}\n".format(return_list)
|
| 64 |
else:
|
| 65 |
+
history = "observation: I need to trigger a search using the following syntax:\naction: SEARCH action_input=SEARCH_QUERY\n"
|
| 66 |
except Exception as e:
|
| 67 |
print (e)
|
| 68 |
history = "observation: The search query I used did not return a valid response, I should try a different query from the list of options\n"
|