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 for summarizing text
HDKiller72da564db5b6
diff --git a/autogpt/summary.py b/autogpt/summary.pyindex 38f0aadc4e..6daa6976ce 100644--- a/autogpt/summary.py+++ b/autogpt/summary.py@@ -57,9 +57,9 @@ def split_text(text, max_length=8192):def create_message(chunk, question):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.",}