fix: make prompt consistent with few-show examples (#11538)

This commit is contained in:
Xu Song
2025-04-11 09:16:26 +08:00
committed by GitHub
parent 5541a1f80e
commit 1e1d457548

View File

@@ -43,9 +43,9 @@ QUESTION_CLASSIFIER_ASSISTANT_PROMPT_2 = """
""" """
QUESTION_CLASSIFIER_USER_PROMPT_3 = """ QUESTION_CLASSIFIER_USER_PROMPT_3 = """
'{{"input_text": ["{input_text}"],', {{"input_text": ["{input_text}"],
'"categories": {categories}, ', "categories": {categories},
'"classification_instructions": ["{classification_instructions}"]}}' "classification_instructions": ["{classification_instructions}"]}}
""" """
QUESTION_CLASSIFIER_COMPLETION_PROMPT = """ QUESTION_CLASSIFIER_COMPLETION_PROMPT = """