mirror of
https://github.com/zilliztech/claude-context.git
synced 2025-10-06 01:10:02 +03:00
optmize collection description
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
This commit is contained in:
@@ -401,7 +401,8 @@ export class CodeContext {
|
||||
}
|
||||
|
||||
const dimension = this.embedding.getDimension();
|
||||
await this.vectorDatabase.createCollection(collectionName, dimension, `Code chunk vector storage collection for codebase: ${codebasePath}`);
|
||||
const dirName = path.basename(codebasePath);
|
||||
await this.vectorDatabase.createCollection(collectionName, dimension, `Index for ${dirName}`);
|
||||
console.log(`✅ Collection ${collectionName} created successfully (dimension: ${dimension})`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user