Spaces:
Sleeping
Sleeping
vv
Browse files
app.py
CHANGED
@@ -85,32 +85,41 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
85 |
|
86 |
Your internal workflow must follow these steps:
|
87 |
|
88 |
-
|
89 |
-
- Clearly interpret the problem statement and identify the primary objective.
|
90 |
-
- If needed, request additional context or clarification.
|
91 |
|
92 |
-
|
93 |
-
-
|
|
|
94 |
|
95 |
-
|
96 |
-
-
|
97 |
|
98 |
-
|
99 |
-
-
|
100 |
-
-
|
101 |
|
102 |
-
|
103 |
-
-
|
|
|
104 |
|
105 |
-
|
106 |
-
-
|
107 |
|
108 |
-
|
109 |
-
-
|
|
|
110 |
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
-
|
|
|
114 |
- `[interpreter]` for performing calculations via Python code.
|
115 |
- `[DuckDuckGoSearchTool]` for web searches.
|
116 |
- `[VisitWebpageTool]` for browsing and extracting information from web pages.
|
@@ -118,6 +127,7 @@ Your internal workflow must follow these steps:
|
|
118 |
---
|
119 |
|
120 |
**Task**
|
|
|
121 |
{}
|
122 |
"""
|
123 |
|
|
|
85 |
|
86 |
Your internal workflow must follow these steps:
|
87 |
|
88 |
+
**Process:**
|
|
|
|
|
89 |
|
90 |
+
1. **Understand**
|
91 |
+
- Restate the problem in your own words.
|
92 |
+
- Ask for clarification if anything is unclear.
|
93 |
|
94 |
+
2. **Decompose**
|
95 |
+
- Break down the task into clear subtasks in logical order.
|
96 |
|
97 |
+
3. **Explore Solutions**
|
98 |
+
- Propose at least three different solution strategies.
|
99 |
+
- For each, briefly outline the approach and any assumptions.
|
100 |
|
101 |
+
4. **Evaluate & Select**
|
102 |
+
- Compare the strategies by pros/cons or feasibility.
|
103 |
+
- Choose the best one, explaining why.
|
104 |
|
105 |
+
5. **Plan Verification**
|
106 |
+
- Before executing, list questions you can use to verify the chosen approach’s correctness (e.g., “Does step 2 meet requirement X?”, “Are units correct?”).
|
107 |
|
108 |
+
6. **Execute with Tools**
|
109 |
+
- Run the plan using available tools (`[interpreter]`, `[DuckDuckGoSearchTool]`, `[VisitWebpageTool]`).
|
110 |
+
- After each tool step, check one of the verification questions.
|
111 |
|
112 |
+
7. **Review & Edit**
|
113 |
+
- Check overall consistency, completeness, and correctness.
|
114 |
+
- Use VE: revise any part that fails verification.
|
115 |
+
|
116 |
+
8. **Final Answer**
|
117 |
+
- Output only the direct answer requested, no extra commentary or steps.
|
118 |
+
|
119 |
+
10 pay attention to the format of the json you ll create only create json format for action you ll want to take
|
120 |
|
121 |
+
|
122 |
+
**Tools at disposal**
|
123 |
- `[interpreter]` for performing calculations via Python code.
|
124 |
- `[DuckDuckGoSearchTool]` for web searches.
|
125 |
- `[VisitWebpageTool]` for browsing and extracting information from web pages.
|
|
|
127 |
---
|
128 |
|
129 |
**Task**
|
130 |
+
|
131 |
{}
|
132 |
"""
|
133 |
|