mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
Merge pull request #34 from iorisa/feature/talk_prompt
fixbug: last_talk
This commit is contained in:
commit
30b3730dc0
1 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ class TalkAction(Action):
|
|||
prompt += "According to the historical conversation above, "
|
||||
language = CONFIG.language or DEFAULT_LANGUAGE
|
||||
prompt += (
|
||||
f"Answer the following questions in {language}, and the answers must follow the Markdown format.\n "
|
||||
f"Answer the following questions strictly in {language}, and the answers must follow the Markdown format.\n "
|
||||
f"{self._talk}"
|
||||
)
|
||||
return prompt
|
||||
|
|
@ -89,7 +89,7 @@ Statement: Your responses should align with the role-play agreement, maintaining
|
|||
[KNOWLEDGE_END]
|
||||
|
||||
Statement: If the information is insufficient, you can search in the historical conversation or knowledge.
|
||||
Statement: Answer the following questions in {language}, and the answers must follow the Markdown format
|
||||
Statement: Answer the following questions strictly in {language}, and the answers must follow the Markdown format
|
||||
, excluding any tag likes "[HISTORY_BEGIN]", "[HISTORY_END]", "[KNOWLEDGE_BEGIN]", "[KNOWLEDGE_END]", "[ASK_BEGIN]"
|
||||
, "[ASK_END]"
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ Statement: Your responses should maintaining the character's persona and habits.
|
|||
[KNOWLEDGE_END]
|
||||
|
||||
Statement: If the information is insufficient, you can search in the historical conversation or knowledge.
|
||||
Statement: Answer the following questions in {language}, and the answers must follow the Markdown format
|
||||
Statement: Answer the following questions strictly in {language}, and the answers must follow the Markdown format
|
||||
, excluding any tag likes "[HISTORY_BEGIN]", "[HISTORY_END]", "[KNOWLEDGE_BEGIN]", "[KNOWLEDGE_END]", "[ASK_BEGIN]"
|
||||
, "[ASK_END]"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue