Adjust story summary recall thresholds
This commit is contained in:
@@ -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, '总结数据已清空');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user