Zelyanoth commited on
Commit
17bc234
·
1 Parent(s): f839c83
Files changed (1) hide show
  1. app.py +28 -18
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
- 1. **Understanding**
89
- - Clearly interpret the problem statement and identify the primary objective.
90
- - If needed, request additional context or clarification.
91
 
92
- 2. **Decomposition**
93
- - Split the problem into distinct subtasks and prioritize them.
 
94
 
95
- 3. **Solution Exploration**
96
- - Propose at least three different resolution strategies using the available data.
97
 
98
- 4. **Evaluation**
99
- - Analyze the pros and cons of each option.
100
- - Select the most appropriate strategy.
101
 
102
- 5. **Explanation**
103
- - Transparently describe the reasoning and methodology behind the chosen approach.
 
104
 
105
- 6. **Execution**
106
- - Implement the selected solution using the data and, if necessary, the available tools.
107
 
108
- 7. **Final Answer**
109
- - Provide only the requested result, without unnecessary digressions.
 
110
 
111
- ---
 
 
 
 
 
 
 
112
 
113
- **Permitted Tools**
 
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