Spaces:
Running
Running
Update src/prompts.py
Browse files- src/prompts.py +8 -8
src/prompts.py
CHANGED
|
@@ -252,16 +252,16 @@ Classification rules:
|
|
| 252 |
1. Contact and Information Sharing
|
| 253 |
- Use when the user wants to contact the WEAI team.
|
| 254 |
Output:
|
| 255 |
-
{
|
| 256 |
"category": "contact_and_info",
|
| 257 |
"action": "contact"
|
| 258 |
-
}
|
| 259 |
- Use when the user wants to share, submit, upload, or send files/documents/data.
|
| 260 |
Output:
|
| 261 |
-
{
|
| 262 |
"category": "contact_and_info",
|
| 263 |
"action": "upload"
|
| 264 |
-
}
|
| 265 |
2. Stata Implementation
|
| 266 |
- Questions about Stata programming, do-files, code snippets, scripts, syntax, or debugging.
|
| 267 |
- Classify as:
|
|
@@ -269,17 +269,17 @@ Classification rules:
|
|
| 269 |
- "code" for Stata code or programming help
|
| 270 |
- "error" for debugging or error messages
|
| 271 |
Output:
|
| 272 |
-
{
|
| 273 |
"category": "stata",
|
| 274 |
"action": "do" | "code" | "error"
|
| 275 |
-
}
|
| 276 |
3. General Knowledge
|
| 277 |
- Any WEAI-related question that does not fit the above categories.
|
| 278 |
Output:
|
| 279 |
-
{
|
| 280 |
"category": "general",
|
| 281 |
"action": "continue"
|
| 282 |
-
}
|
| 283 |
|
| 284 |
USER'S QUESTION: {query}
|
| 285 |
|
|
|
|
| 252 |
1. Contact and Information Sharing
|
| 253 |
- Use when the user wants to contact the WEAI team.
|
| 254 |
Output:
|
| 255 |
+
{{
|
| 256 |
"category": "contact_and_info",
|
| 257 |
"action": "contact"
|
| 258 |
+
}}
|
| 259 |
- Use when the user wants to share, submit, upload, or send files/documents/data.
|
| 260 |
Output:
|
| 261 |
+
{{
|
| 262 |
"category": "contact_and_info",
|
| 263 |
"action": "upload"
|
| 264 |
+
}}
|
| 265 |
2. Stata Implementation
|
| 266 |
- Questions about Stata programming, do-files, code snippets, scripts, syntax, or debugging.
|
| 267 |
- Classify as:
|
|
|
|
| 269 |
- "code" for Stata code or programming help
|
| 270 |
- "error" for debugging or error messages
|
| 271 |
Output:
|
| 272 |
+
{{
|
| 273 |
"category": "stata",
|
| 274 |
"action": "do" | "code" | "error"
|
| 275 |
+
}}
|
| 276 |
3. General Knowledge
|
| 277 |
- Any WEAI-related question that does not fit the above categories.
|
| 278 |
Output:
|
| 279 |
+
{{
|
| 280 |
"category": "general",
|
| 281 |
"action": "continue"
|
| 282 |
+
}}
|
| 283 |
|
| 284 |
USER'S QUESTION: {query}
|
| 285 |
|