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

Plugin: 增加插件编写文档,添加Dungeon插件 #518

Merged
merged 2 commits into from
Mar 19, 2023

Conversation

lanvent
Copy link
Collaborator

@lanvent lanvent commented Mar 19, 2023

  1. 添加插件编写文档。
  2. 添加Dungeon插件,通过"$开始冒险 <背景故事>"可以开始一场地牢游戏。 有没有可能用这个机器人玩地牢游戏? #463

@lichengzhe
Copy link
Contributor

之前想过/role选择各种角色,替换默认system prompt,可参考人设大全https://prompts.chat

@lanvent
Copy link
Collaborator Author

lanvent commented Mar 19, 2023

之前想过/role选择各种角色,替换默认system prompt,可参考人设大全https://prompts.chat

这个我觉得挺好的,之前每次查之前都得搜段提示词,蛮麻烦的。
在build_session_query增加systemprompt的参数,之后利用插件来调用函数建立session;或者直接由插件修改已有session的system prompt历史记录,都是可行的方法。但实际上gpt-3.5-turbo对system prompt注意力不高,可以类似Dungeon插件构造user prompt传入。不过插件需要检查下会话长度超限时这句user prompt有没有被顶掉。

In general, gpt-3.5-turbo-0301 does not pay strong attention to the system message, and therefore important instructions are often better placed in a user message.

@zhayujie
Copy link
Owner

有意思, 试试看~

@zhayujie zhayujie merged commit 48a6807 into zhayujie:plugins Mar 19, 2023
@lichengzhe
Copy link
Contributor

实测下来system的一些角色扮演包括佛祖 猫娘还是很灵光的 替换system比较清晰 未来也符合gpt4 官方demo的模式 放user可以考虑做成置顶prompt的方法 不会被挤掉 有个强制pormpt0一直再前面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants