koishi-plugin-best-cave 2.7.34 → 2.7.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1118,12 +1118,12 @@ var AIManager = class {
|
|
|
1118
1118
|
* @description 用于分析的 AI 系统提示词。
|
|
1119
1119
|
*/
|
|
1120
1120
|
ANALYSIS_SYSTEM_PROMPT = `你需要分析给定的内容,并按照以下规则进行评分、分类和提取内容中的关键词。
|
|
1121
|
-
你的回复必须且只能是一个JSON
|
|
1121
|
+
你的回复必须且只能是一个JSON对象,禁止含有解释说明等其他文字,只包含rating、type和keywords,例如{"rating": 88,"type": "Game","keywords": ["Minecraft", "Nether"]}。`;
|
|
1122
1122
|
/**
|
|
1123
1123
|
* @description 用于查重的 AI 系统提示词。
|
|
1124
1124
|
*/
|
|
1125
1125
|
DUPLICATE_SYSTEM_PROMPT = `你需要比较给定的“新内容”与“候选内容”,识别内容语义或核心思想重复的候选内容。
|
|
1126
|
-
你的回复必须且只能是一个JSON
|
|
1126
|
+
你的回复必须且只能是一个JSON数组,禁止含有解释说明等其他文字,只包含重复项ID,例如[1, 2],若无重复,则返回[]。`;
|
|
1127
1127
|
/**
|
|
1128
1128
|
* @description 注册与 AI 功能相关的管理命令。
|
|
1129
1129
|
* @param {any} cave - \`cave\` 命令的实例,用于挂载子命令。
|