Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify prompt #3

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/environments/chatroom/envs/social_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,12 @@ def reply(self, recent_posts: List[Msg] = [], recent_news: List[str] = [], curre
f"1. 现在的时间是{current_time},生成内容的时间需要发生在未来一小时以内,不得出现不合理的内容,比如上午8点时生成“下午好”或“晚上好”等内容,生成内容无需包含具体时间。\n"
"2. 朋友圈内容需要符合人设,且符合当前朋友圈内容。\n"
"3. 生成内容需要像日常聊天那样保持口语化、自然、流畅、简略,讲大白话。\n"
"4. 回复禁止超过140字,讨论请围绕主题,接地气,可以加入适当的语气词表达情感。\n"
"5. 尽可能地避免使用特殊符号,例如:#、&、~等。\n"
"4. 回复禁止超过140字,讨论请围绕主题,接地气,可以加入适当的语气词表达情感,但避免在开头使用。\n"
"5. 尽可能地避免使用特殊符号,例如:#、&、*等。\n"
"6. 生成的内容尽可能与上面展示的朋友圈不同,生成的内容不一定要与新闻相关。\n"
"7. 以下是若干生成样例:\n"
"7. 以下是优秀的朋友圈样例:\n"
f"{example_str}\n\n"
"请生成一条符合要求的朋友圈:\n"
"请生成一条符合要求的朋友圈内容:\n"
# "6. 请按照下面的格式进行生成:\n"
# "时间:yyyy-MM-dd HH:mm:ss\n"
# "内容:(符合人设的朋友圈文本)\n"
Expand Down
Loading