remove "please" from prompt in text.py

This commit is contained in:
HDKiller
2023-04-15 16:55:32 +00:00
parent fbe1b0e5b0
commit 885d81b354

View File

@@ -126,7 +126,7 @@ def create_message(chunk: str, question: str) -> dict[str, str]:
"""
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.",
}