Parcourir la source

feat: optimize prompt of suggested_questions_after_answer (#881)

tags/0.3.15
takatost il y a 2 ans
Parent
révision
39574dcf6b
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      api/core/prompt/prompts.py

+ 1
- 1
api/core/prompt/prompts.py Voir le fichier

@@ -39,7 +39,7 @@ MORE_LIKE_THIS_GENERATE_PROMPT = (
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"
"The output must be 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"
)


Chargement…
Annuler
Enregistrer