Spaces:
Paused
Paused
Update src/prompts.py
Browse files- src/prompts.py +2 -1
src/prompts.py
CHANGED
|
@@ -245,7 +245,8 @@ STATA_PROMPT_TEMPLATE = {
|
|
| 245 |
}
|
| 246 |
CATEGORIZER_PROMPT_TEMPLATE = """\
|
| 247 |
You are a query-routing classifier for a {domain} research chatbot.
|
| 248 |
-
Your task is to read the user's query and classify it into one or more categories.
|
|
|
|
| 249 |
Classification rules:
|
| 250 |
- Classify as "pillar_1" when the user shows interest in understanding whether the selected value chain aligns with the government's political incentives.
|
| 251 |
- Classify as "pillar_2" when the user shows interest in understanding to what degree decisions are impacted by the lobbying of particular groups or by elite influence
|
|
|
|
| 245 |
}
|
| 246 |
CATEGORIZER_PROMPT_TEMPLATE = """\
|
| 247 |
You are a query-routing classifier for a {domain} research chatbot.
|
| 248 |
+
Your task is to read the user's query and classify it into one or more categories. Include all applicable classes in a list
|
| 249 |
+
even if it is a single category and return ONLY valid JSON.
|
| 250 |
Classification rules:
|
| 251 |
- Classify as "pillar_1" when the user shows interest in understanding whether the selected value chain aligns with the government's political incentives.
|
| 252 |
- Classify as "pillar_2" when the user shows interest in understanding to what degree decisions are impacted by the lobbying of particular groups or by elite influence
|