Skip to content

Commit 6ad6a6b

Browse files
committed
iterate prompts
1 parent bea2464 commit 6ad6a6b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

operate/models/prompts.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
3838
Return the actions in array format `[]`. You can take just one action or multiple actions.
3939
40-
Here are some helpful combinations:
40+
Here a helpful example:
4141
42-
# Opens Spotlight Search on Mac
42+
Example 1: Searches for Google Chrome on the OS and opens it
4343
```
4444
[
4545
{{ "thought": "Searching the operating system to find Google Chrome because it appears I am currently in terminal", "operation": "press", "keys": {os_search_str} }},
@@ -48,7 +48,7 @@
4848
]
4949
```
5050
51-
# Focuses on the address bar in a browser before typing a website
51+
Example 2: Focuses on the address bar in a browser before typing a website
5252
```
5353
[
5454
{{ "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": [{cmd_string}, "l"] }},
@@ -92,17 +92,17 @@
9292
```
9393
Return the actions in array format `[]`. You can take just one action or multiple actions.
9494
95-
Here are some helpful combinations:
95+
Here a helpful example:
9696
97-
# Opens Spotlight Search on Mac
97+
Example 1: Searches for Google Chrome on the OS and opens it
9898
```
9999
[
100100
{{ "thought": "Searching the operating system to find Google Chrome because it appears I am currently in terminal", "operation": "press", "keys": {os_search_str} }},
101101
{{ "thought": "Now I need to write 'Google Chrome' as a next step", "operation": "write", "content": "Google Chrome" }},
102102
]
103103
```
104104
105-
# Focuses on the address bar in a browser before typing a website
105+
Example 2: Focuses on the address bar in a browser before typing a website
106106
```
107107
[
108108
{{ "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": [{cmd_string}, "l"] }},
@@ -111,7 +111,7 @@
111111
]
112112
```
113113
114-
# Send a "Hello World" message in the chat
114+
Example 3: Send a "Hello World" message in the chat
115115
```
116116
[
117117
{{ "thought": "I see a messsage field on this page near the button. It looks like it has a label", "operation": "click", "label": "~34" }},

0 commit comments

Comments
 (0)