Adjust story summary recall thresholds

This commit is contained in:
2026-02-01 16:26:29 +08:00
parent 0ac347968e
commit cf0fc88a24
6 changed files with 298 additions and 234 deletions

View File

@@ -6,6 +6,7 @@ import { chat_metadata } from "../../../../../../../script.js";
import { EXT_ID } from "../../../core/constants.js";
import { xbLog } from "../../../core/debug-core.js";
import { clearEventVectors, deleteEventVectorsByIds } from "../vector/chunk-store.js";
import { clearEventTextIndex } from '../vector/text-search.js';
const MODULE_ID = 'summaryStore';
@@ -277,7 +278,9 @@ export async function clearSummaryData(chatId) {
if (chatId) {
await clearEventVectors(chatId);
}
clearEventTextIndex();
xbLog.info(MODULE_ID, '总结数据已清空');
}