From 28b26f67e29301c56fe44ca63993c5d30043d3d2 Mon Sep 17 00:00:00 2001 From: Jyong <76649700+JohnJyong@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:17:55 +0800 Subject: [PATCH] optimize qa prompt (#1957) Co-authored-by: jyong --- api/core/prompt/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/prompt/prompts.py b/api/core/prompt/prompts.py index 44cf954d3e..dc8badbb98 100644 --- a/api/core/prompt/prompts.py +++ b/api/core/prompt/prompts.py @@ -75,7 +75,7 @@ GENERATOR_QA_PROMPT = ( 'Step 3: Decompose or combine multiple pieces of information and concepts.\n' 'Step 4: Generate 20 questions and answers based on these key information and concepts.' 'The questions should be clear and detailed, and the answers should be detailed and complete.\n' - "Answer according to the the language:{language} and in the following format: Q1:\nA1:\nQ2:\nA2:...\n" + "Answer MUST according to the the language:{language} and in the following format: Q1:\nA1:\nQ2:\nA2:...\n" ) RULE_CONFIG_GENERATE_TEMPLATE = """Given MY INTENDED AUDIENCES and HOPING TO SOLVE using a language model, please select \