Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -106,7 +106,9 @@ Instructions
|
|
106 |
- Results from action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY will be the text contents of the search result
|
107 |
- You can read the content of a website by repyling with your command action: SEARCH action_input=https://URL
|
108 |
- Results from a action: SEARCH action_input=https://URL will be the text contents of the webpage
|
109 |
-
- Return a detailed response and end by replaying with your command action: COMPLETE
|
|
|
|
|
110 |
|
111 |
Always use the following format:
|
112 |
task: the input task you must complete
|
@@ -116,7 +118,7 @@ observation: the result of the action
|
|
116 |
thought: you can find more information on the internet, try using a search engine
|
117 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
118 |
... (thought/action/observation/thought can repeat N times)
|
119 |
-
|
120 |
|
121 |
Example Response 1:
|
122 |
User Request: "Can you please explain the concept of blockchain technology?"
|
|
|
106 |
- Results from action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY will be the text contents of the search result
|
107 |
- You can read the content of a website by repyling with your command action: SEARCH action_input=https://URL
|
108 |
- Results from a action: SEARCH action_input=https://URL will be the text contents of the webpage
|
109 |
+
- Return a detailed response and end by replaying with your command action: COMPLETE
|
110 |
+
|
111 |
+
|
112 |
|
113 |
Always use the following format:
|
114 |
task: the input task you must complete
|
|
|
118 |
thought: you can find more information on the internet, try using a search engine
|
119 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
120 |
... (thought/action/observation/thought can repeat N times)
|
121 |
+
... (!! Reply with only 1 response at a time !!)
|
122 |
|
123 |
Example Response 1:
|
124 |
User Request: "Can you please explain the concept of blockchain technology?"
|