remove "please" from prompt in text.py
parent
fbe1b0e5b0
commit
885d81b354
|
@ -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.",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue