|
37 | 37 |
|
38 | 38 | Return the actions in array format `[]`. You can take just one action or multiple actions. |
39 | 39 |
|
40 | | -Here are some helpful combinations: |
| 40 | +Here a helpful example: |
41 | 41 |
|
42 | | -# Opens Spotlight Search on Mac |
| 42 | +Example 1: Searches for Google Chrome on the OS and opens it |
43 | 43 | ``` |
44 | 44 | [ |
45 | 45 | {{ "thought": "Searching the operating system to find Google Chrome because it appears I am currently in terminal", "operation": "press", "keys": {os_search_str} }}, |
|
48 | 48 | ] |
49 | 49 | ``` |
50 | 50 |
|
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 |
52 | 52 | ``` |
53 | 53 | [ |
54 | 54 | {{ "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 | 92 | ``` |
93 | 93 | Return the actions in array format `[]`. You can take just one action or multiple actions. |
94 | 94 |
|
95 | | -Here are some helpful combinations: |
| 95 | +Here a helpful example: |
96 | 96 |
|
97 | | -# Opens Spotlight Search on Mac |
| 97 | +Example 1: Searches for Google Chrome on the OS and opens it |
98 | 98 | ``` |
99 | 99 | [ |
100 | 100 | {{ "thought": "Searching the operating system to find Google Chrome because it appears I am currently in terminal", "operation": "press", "keys": {os_search_str} }}, |
101 | 101 | {{ "thought": "Now I need to write 'Google Chrome' as a next step", "operation": "write", "content": "Google Chrome" }}, |
102 | 102 | ] |
103 | 103 | ``` |
104 | 104 |
|
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 |
106 | 106 | ``` |
107 | 107 | [ |
108 | 108 | {{ "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 | 111 | ] |
112 | 112 | ``` |
113 | 113 |
|
114 | | -# Send a "Hello World" message in the chat |
| 114 | +Example 3: Send a "Hello World" message in the chat |
115 | 115 | ``` |
116 | 116 | [ |
117 | 117 | {{ "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