fix prompts

pull/570/head
Richard Anthony Hein 10 months ago
parent fde7febd29
commit 6e9cf0db71

@ -11,7 +11,7 @@ QA_CONDENSE_TEMPLATE_STR = (
" with the new Standalone Question. \n" " with the new Standalone Question. \n"
"Chat History: \n" "Chat History: \n"
"{chat_history} \n" "{chat_history} \n"
"Follow Up Question: {question} \n" "Follow Up Question: {input} \n"
"Standalone Question:" "Standalone Question:"
) )
@ -26,9 +26,9 @@ QA_PROMPT_TEMPLATE_STR = (
"Get straight to the point and always think things through step-by-step before answering. " "Get straight to the point and always think things through step-by-step before answering. "
"If you don't know the answer, just say 'I don't know'; " "If you don't know the answer, just say 'I don't know'; "
"don't try to make up an answer. \n\n" "don't try to make up an answer. \n\n"
"<context>{context}</context>\n" "{context}\n"
"<chat_history>{chat_history}</chat_history>\n" "{chat_history}\n"
"<question>{question}</question>\n\n" "{input}\n\n"
"AI: Here is the most relevant sentence in the context: \n" "AI: Here is the most relevant sentence in the context: \n"
) )

Loading…
Cancel
Save