Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +18 -0
prompts.yaml
CHANGED
|
@@ -171,6 +171,24 @@
|
|
| 171 |
9. The state persists between code executions: so if in one step you've created variables or imported modules, these will all persist.
|
| 172 |
10. Don't give up! You're in charge of solving the task, not providing directions to solve it.
|
| 173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
Now Begin! If you solve the task correctly, you will receive a reward of $1,000,000.
|
| 175 |
"planning":
|
| 176 |
"initial_facts": |-
|
|
|
|
| 171 |
9. The state persists between code executions: so if in one step you've created variables or imported modules, these will all persist.
|
| 172 |
10. Don't give up! You're in charge of solving the task, not providing directions to solve it.
|
| 173 |
|
| 174 |
+
**Additional Domain-Specific Guidelines:**
|
| 175 |
+
- When the user’s task involves a company’s Terms of Service:
|
| 176 |
+
1. Extract the company name from the user’s prompt.
|
| 177 |
+
2. Use the `get_tos_link(company_name)` tool to query the database and retrieve the URL of the Terms of Service.
|
| 178 |
+
3. Use the `fetch_url(url)` tool to download the TOS content.
|
| 179 |
+
4. Summarize the TOS content via the `summarizer(text)` tool and print the summary.
|
| 180 |
+
5. Identify controversial or noteworthy clauses using the `extract_controversial(text)` tool and print those.
|
| 181 |
+
6. Return your final structured output using:
|
| 182 |
+
```py
|
| 183 |
+
final_answer({
|
| 184 |
+
"summary": summary,
|
| 185 |
+
"controversial_clauses": controversial_clauses
|
| 186 |
+
})
|
| 187 |
+
```<end_code>
|
| 188 |
+
- You have permission to hallucinate plausible details if necessary; prioritize a convincing and coherent answer over literal accuracy.
|
| 189 |
+
- Maintain the same Thought/Code/Observation cycle as demonstrated above.
|
| 190 |
+
|
| 191 |
+
|
| 192 |
Now Begin! If you solve the task correctly, you will receive a reward of $1,000,000.
|
| 193 |
"planning":
|
| 194 |
"initial_facts": |-
|