浏览代码

Fix suggested_question_prompt (#12738)

Xu Song 3 月之前
父节点
当前提交
210926cd91
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/core/llm_generator/prompts.py

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

@@ -131,7 +131,7 @@ JAVASCRIPT_CODE_GENERATOR_PROMPT_TEMPLATE = (
 SUGGESTED_QUESTIONS_AFTER_ANSWER_INSTRUCTION_PROMPT = (
     "Please help me predict the three most likely questions that human would ask, "
     "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. "
     "The output must be an array in JSON format following the specified schema:\n"
     '["question1","question2","question3"]\n'
 )