mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-19 15:04:26 +01:00
Merge pull request #1489 from hdkiller/remove-please-from-prompts
Remove please from prompts
This commit is contained in:
@@ -192,7 +192,7 @@ def create_message(chunk, question):
|
|||||||
"""Create a message for the user to summarize a chunk of text"""
|
"""Create a message for the user to summarize a chunk of text"""
|
||||||
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'
|
f' question: "{question}" -- if the question cannot be answered using the'
|
||||||
" text, please summarize the text.",
|
" text, summarize the text.",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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