Spaces:
Sleeping
Sleeping
another try
Browse files
app.py
CHANGED
@@ -81,28 +81,43 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
81 |
# 3. Run your Agent
|
82 |
results_log = []
|
83 |
answers_payload = []
|
84 |
-
sytem_prompt = """You are an
|
85 |
|
86 |
-
Your
|
87 |
|
88 |
-
|
|
|
|
|
89 |
|
90 |
-
|
|
|
91 |
|
92 |
-
|
|
|
93 |
|
94 |
-
|
|
|
|
|
95 |
|
96 |
-
|
|
|
97 |
|
98 |
-
|
|
|
99 |
|
100 |
-
|
|
|
101 |
|
102 |
-
|
103 |
-
Here re others tool at your disposal [DuckDuckGoSearchTool,VisitWebpageTool]
|
104 |
|
105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
{}
|
107 |
"""
|
108 |
|
|
|
81 |
# 3. Run your Agent
|
82 |
results_log = []
|
83 |
answers_payload = []
|
84 |
+
sytem_prompt = """You are an advanced reasoning engine designed to solve complex problems by breaking them into manageable subtasks and leveraging external tools when necessary.
|
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.
|
117 |
+
|
118 |
+
---
|
119 |
+
|
120 |
+
**Task**
|
121 |
{}
|
122 |
"""
|
123 |
|