Merge pull request #1489 from hdkiller/remove-please-from-prompts

Remove please from prompts
This commit is contained in:
Richard Beales
2023-04-15 18:45:05 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

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.",
}