Spaces:
Running
Running
response format
Browse files
README.md
CHANGED
@@ -226,6 +226,18 @@ response = client.chat.completions.create(
|
|
226 |
)
|
227 |
```
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
|
230 |
|
231 |
### Webbrowser Environment
|
|
|
226 |
)
|
227 |
```
|
228 |
|
229 |
+
The model's response will follow the format of:
|
230 |
+
- observe
|
231 |
+
- think
|
232 |
+
- act
|
233 |
+
```bash
|
234 |
+
<observation>The privacy consent banner has been successfully dismissed, allowing full access to the webpage. The search bar is visible, and the page is ready for interaction.</observation>
|
235 |
+
<thinking>The task of finding a vegetarian lasagna recipe has not yet been completed. I now have access to the search bar to begin searching for the recipe. I will type 'vegetarian lasagna' into the search bar and then click the search button to find relevant recipes.</thinking>
|
236 |
+
<tool_call>{"function": "click", "arguments": {"entries": [{"mark_id": 1, "content": "vegetarian lasagna"}]}}</tool_call>
|
237 |
+
```
|
238 |
+
Where steps are separated by `<observation>`, `<thinking>`, and `<tool_call>` tags (Use the `-tool-call-parser hermes` option with the vLLM server to automatically parse the tool call when getting back the completion).
|
239 |
+
|
240 |
+
|
241 |
|
242 |
|
243 |
### Webbrowser Environment
|