Skip to content

Commit

Permalink
chore: bump version to 1.0.0-beta.40 and update partitionKey format i…
Browse files Browse the repository at this point in the history
…n Milvus configuration
  • Loading branch information
dingyi222666 committed Dec 28, 2024
1 parent 45a1087 commit 7c21bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vector-store-service/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-chatluna-vector-store-service",
"description": "vector store service for chatluna",
"version": "1.0.0-beta.39",
"version": "1.0.0-beta.40",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/vector-store-service/src/vectorstore/milvus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function apply(
const vectorStore = new MilvusClass(embeddings, {
collectionName: 'chatluna_collection',
partitionName: params.key ?? 'chatluna',
partitionKey: params.key ?? 'chatluna',
partitionKey: `_${params.key ?? 'chatluna'}`,
url: config.milvusUrl,
autoId: false,
username: config.milvusUsername,
Expand Down

0 comments on commit 7c21bec

Please sign in to comment.