Skip to content

Commit

Permalink
remove "please" from prompt for summarizing text
Browse files Browse the repository at this point in the history
  • Loading branch information
hdkiller committed Apr 15, 2023
1 parent 6a93537 commit 72da564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogpt/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
}


Expand Down

0 comments on commit 72da564

Please sign in to comment.