Nelly-43 commited on
Commit
1e0ca0c
·
verified ·
1 Parent(s): b1b4bbc

Update src/prompts.py

Browse files
Files changed (1) hide show
  1. 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. List all applicable classes and return ONLY valid JSON.
 
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