Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

remove "please" from prompt in text.py

HDKiller885d81b354cc
diff --git a/autogpt/processing/text.py b/autogpt/processing/text.py
index 24e3bb8581..e78fef1b0f 100644
--- a/autogpt/processing/text.py
+++ b/autogpt/processing/text.py
@@ -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.",
}