From 72da564db5b6a0e2c6e98a5b205e5e52c5e47703 Mon Sep 17 00:00:00 2001 From: HDKiller Date: Sat, 15 Apr 2023 06:27:08 +0000 Subject: [PATCH] remove "please" from prompt for summarizing text --- autogpt/summary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogpt/summary.py b/autogpt/summary.py index 38f0aadc4..6daa6976c 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.", }