mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 08:18:58 +08:00
fix: prompt template issue (#3449)
This commit is contained in:
parent
5e16e7bf53
commit
92f8c40e4c
@ -18,7 +18,7 @@ QUESTION_CLASSIFIER_SYSTEM_PROMPT = """
|
||||
|
||||
QUESTION_CLASSIFIER_USER_PROMPT_1 = """
|
||||
{ "input_text": ["I recently had a great experience with your company. The service was prompt and the staff was very friendly."],
|
||||
"categories": ["Customer Service, Satisfaction, Sales, Product"],
|
||||
"categories": ["Customer Service", "Satisfaction", "Sales", "Product"],
|
||||
"classification_instructions": ["classify the text based on the feedback provided by customer"]}```JSON
|
||||
"""
|
||||
|
||||
@ -29,7 +29,7 @@ QUESTION_CLASSIFIER_ASSISTANT_PROMPT_1 = """
|
||||
|
||||
QUESTION_CLASSIFIER_USER_PROMPT_2 = """
|
||||
{"input_text": ["bad service, slow to bring the food"],
|
||||
"categories": ["Food Quality, Experience, Price" ],
|
||||
"categories": ["Food Quality", "Experience", "Price" ],
|
||||
"classification_instructions": []}```JSON
|
||||
"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user