mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 22:44:21 +01:00
remove "please" from prompt in text.py
This commit is contained in:
@@ -126,7 +126,7 @@ def create_message(chunk: str, question: str) -> dict[str, str]:
|
|||||||
"""
|
"""
|
||||||
return {
|
return {
|
||||||
"role": "user",
|
"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,'
|
f' question: "{question}" -- if the question cannot be answered using the text,'
|
||||||
" please summarize the text.",
|
" summarize the text.",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user