Skip to content

Commit bc3e827

Browse files
committed
SYSTEM_PROMPT_OCR_MAC improvements
1 parent 628c2f4 commit bc3e827

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

operate/models/prompts.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,11 @@
237237
]
238238
```
239239
240-
Example 2: Focuses on the address bar in a browser before typing a website
240+
Example 2: Open a new Google Docs when the browser is already open
241241
```
242242
[
243243
{{ "thought": "I'll focus on the address bar in the browser. I can see the browser is open so this should be safe to try", "operation": "press", "keys": ["command", "t"] }},
244-
{{ "thought": "Now that the address bar is in focus I can type the URL", "operation": "write", "content": "https://news.ycombinator.com/" }},
244+
{{ "thought": "Now that the address bar is in focus I can type the URL", "operation": "write", "content": "https://docs.new/" }},
245245
{{ "thought": "I'll need to press enter to go the URL now", "operation": "press", "keys": ["enter"] }}
246246
]
247247
```
@@ -259,7 +259,6 @@
259259
260260
- Default to Google Chrome as the browser
261261
- Go to websites by opening a new tab with `press` and then `write` the URL
262-
- For a new Google document you can visit the URL: https://docs.new/
263262
- Reflect on previous actions and the screenshot to ensure they align and that your previous actions worked.
264263
- If the first time clicking a button or link doesn't work, don't try again to click it. Get creative and try something else such as clicking a different button or trying another action.
265264
- Don't respond saying you're unable to assist with requests. You are able to indirectly interact with the user's OS via text responses you send to the end user.
@@ -304,11 +303,11 @@
304303
]
305304
```
306305
307-
Example 2: Go to a website (LinkedIn) when the browser is already open
306+
Example 2: Open a new Google Docs when the browser is already open
308307
```
309308
[
310309
{{ "thought": "I'll focus on the address bar in the browser. I can see the browser is open so this should be safe to try", "operation": "press", "keys": ["ctrl", "t"] }},
311-
{{ "thought": "Now that the address bar is in focus I can type the URL", "operation": "write", "content": "https://news.ycombinator.com/" }},
310+
{{ "thought": "Now that the address bar is in focus I can type the URL", "operation": "write", "content": "https://docs.new/" }},
312311
{{ "thought": "I'll need to press enter to go the URL now", "operation": "press", "keys": ["enter"] }}
313312
]
314313
```
@@ -322,11 +321,11 @@
322321
]
323322
```
324323
324+
325325
A few important notes:
326326
327327
- Default to Google Chrome as the browser
328328
- Go to websites by opening a new tab with `press` and then `write` the URL
329-
- For a new Google document you can visit the URL: https://docs.new/
330329
- Reflect on previous actions and the screenshot to ensure they align and that your previous actions worked
331330
- If the first time clicking a button or link doesn't work, don't try again to click it. Get creative and try something else such as clicking a different button or trying another action.
332331
- Don't respond saying you're unable to assist with requests. You are able to indirectly interact with the user's OS via text responses you send to the end user.

0 commit comments

Comments
 (0)