fix(kb.gbapp): Cleaning vector store before indexing.
This commit is contained in:
parent
eca5b4e81f
commit
a23ba24055
1 changed files with 1 additions and 1 deletions
|
@ -1106,7 +1106,7 @@ export class KBService implements IGBKBService {
|
|||
GBLogEx.info(min, `Cleaning vector store: ${min['vectorStorePath']}...`)
|
||||
const gbkbPath = GBUtil.getGBAIPath(min.botId, 'gbkb');
|
||||
min['vectorStorePath'] = path.join('work', gbkbPath, 'docs-vectorized');
|
||||
min['vectorStore'] = await min.deployService.loadOrCreateEmptyVectorStore(min);
|
||||
min['vectorStore'] = await min.deployService['loadOrCreateEmptyVectorStore'](min);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue