perf: message filter

This commit is contained in:
archer
2023-05-09 23:40:02 +08:00
parent 9b683884cc
commit e3c9b8179e
4 changed files with 7 additions and 21 deletions

View File

@@ -106,7 +106,7 @@ export const searchKb = async ({
{
obj: ChatRoleEnum.System,
value: `我们来玩问答游戏,规则为:
1.你忘记你已有的知识
1.你完全忘记你已有的知识
2.你只能回答关于"${model.name}"的问题
3.你只能从知识库中选择内容进行回答
4.如果问题不在知识库中,你会回答"我不知道。"