feat: reformat prompt

This commit is contained in:
John Wang 2023-05-23 12:00:50 +08:00
parent a4101b713c
commit 0f0f6e0846
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ And answer according to the language of the user's question.
if pre_prompt:
human_message_prompt += pre_prompt
query_prompt = "\nHuman:{query}\nAI:"
query_prompt = "\nHuman: {query}\nAI: "
if memory:
# append chat histories