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

[Feature] 增加自动重新加载预设机制 #411

Open
saltyplum opened this issue Mar 23, 2023 · 1 comment
Open

[Feature] 增加自动重新加载预设机制 #411

saltyplum opened this issue Mar 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@saltyplum
Copy link

比如在预设模板中加个标识,让gpt将标识和设定一起记忆,每次对话检查一下prompt里是否还带着标识,没有的话就认为gpt忘掉了预设,自动重新加载一下预设,并且不输出"进入设定模式"之类的响应信息

@saltyplum saltyplum added the enhancement New feature or request label Mar 23, 2023
@lss233
Copy link
Owner

lss233 commented Mar 23, 2023

保持预设的方法主要还是和预设的写法有关。 通常来说,最核心的设定应该通过系统提示词写在最前面,这样在经过多轮对话之后AI还能记住设定。

另外,参考 #402 ,你也可以在模板中加入一些强化预设的提示词来让 AI 保持设定。

关于你说的:输出"进入设定模式"之类的响应信息,这其实是预设的作者自己写的,程序本身并不会输出这种信息。

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

No branches or pull requests

2 participants