remove "please" from prompt for summarizing text

pull/1489/head
HDKiller 2023-04-15 06:27:08 +00:00
parent 6a93537c42
commit 72da564db5
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@ def split_text(text, max_length=8192):
def create_message(chunk, question):
return {
"role": "user",
"content": f'"""{chunk}""" Using the above text, please answer the following'
"content": f'"""{chunk}""" Using the above text, answer the following'
f' question: "{question}" -- if the question cannot be answered using the text,'
" please summarize the text.",
" summarize the text.",
}