perf: 加快拆分QA和生成向量;余额不足提醒

This commit is contained in:
archer
2023-04-05 20:37:37 +08:00
parent dc329041f3
commit fbbc32361b
8 changed files with 89 additions and 93 deletions

View File

@@ -27,7 +27,6 @@ export async function connectToDatabase(): Promise<void> {
global.mongodb = null;
}
global.generatingQA = 0;
generateQA();
// generateAbstract();
generateVector(true);