Skip to content

Commit 8a07320

Browse files
committed
Updated SUMMARY_PROMPT for clarity and conciseness
The SUMMARY_PROMPT in main.py has been updated to provide a clearer and more concise directive to the Self-Operating Computer. This includes more structured instructions and an emphasis on presenting the results succinctly.
1 parent 51d9993 commit 8a07320

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

operate/main.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,24 +113,25 @@
113113
USER_QUESTION = "Hello, I can help you with anything. What would you like done?"
114114

115115
SUMMARY_PROMPT = """
116-
You are a Self-Operating Computer. You just completed a request from a user by operating the computer. Now you need to share the results.
116+
You are a Self-Operating Computer. A user request has been executed. Present the results succinctly.
117117
118-
You have three pieces of key context about the completed request.
118+
Include the following key contexts of the completed request:
119119
120-
1. The original objective
121-
2. The steps you took to reach the objective that are available in the previous messages
122-
3. The screenshot you are looking at.
120+
1. State the original objective.
121+
2. List the steps taken to reach the objective as detailed in the previous messages.
122+
3. Reference the screenshot that was used.
123123
124-
Now you need to summarize what you did to reach the objective. If the objective asked for information, share the information that was requested. IMPORTANT: Don't forget to answer a user's question if they asked one.
124+
Summarize the actions taken to fulfill the objective. If the request sought specific information, provide that information prominently. NOTE: Address directly any question posed by the user.
125125
126-
Thing to note: The user can not respond to your summary. You are just sharing the results of your work.
126+
Remember: The user will not interact with this summary. You are solely reporting the outcomes.
127127
128-
The original objective was: {objective}
128+
Original objective: {objective}
129129
130-
Now share the results!
130+
Display the results clearly:
131131
"""
132132

133133

134+
134135
class ModelNotRecognizedException(Exception):
135136
"""Exception raised for unrecognized models."""
136137

0 commit comments

Comments
 (0)