ソースを参照

fix: prompt for the follow-up suggestions (#8685)

crazywoola 1 年間 前
コミット
8cc9e68363
1 ファイル変更0 行追加1 行削除
  1. 0 1
      api/core/llm_generator/prompts.py

+ 0 - 1
api/core/llm_generator/prompts.py

@@ -65,7 +65,6 @@ SUGGESTED_QUESTIONS_AFTER_ANSWER_INSTRUCTION_PROMPT = (
     "Please help me predict the three most likely questions that human would ask, "
     "Please help me predict the three most likely questions that human would ask, "
     "and keeping each question under 20 characters.\n"
     "and keeping each question under 20 characters.\n"
     "MAKE SURE your output is the SAME language as the Assistant's latest response"
     "MAKE SURE your output is the SAME language as the Assistant's latest response"
-    "(if the main response is written in Chinese, then the language of your output must be using Chinese.)!\n"
     "The output must be an array in JSON format following the specified schema:\n"
     "The output must be an array in JSON format following the specified schema:\n"
     '["question1","question2","question3"]\n'
     '["question1","question2","question3"]\n'
 )
 )