Skip to content

Commit

Permalink
fix(kb.gbapp): Cleaning vector store before indexing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Nov 14, 2024
1 parent eca5b4e commit a23ba24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kb.gbapp/services/KBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}

Expand Down

0 comments on commit a23ba24

Please sign in to comment.