Sfoglia il codice sorgente

feat: optimize prompt of suggested_questions_after_answer (#881)

tags/0.3.15
takatost 2 anni fa
parent
commit
39574dcf6b
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      api/core/prompt/prompts.py

+ 1
- 1
api/core/prompt/prompts.py Vedi File

SUGGESTED_QUESTIONS_AFTER_ANSWER_INSTRUCTION_PROMPT = ( 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"
"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" "[\"question1\",\"question2\",\"question3\"]\n"
) )



Loading…
Annulla
Salva