Skip to content

Commit

Permalink
fix(ChatKnowledge):Milvus create collection bug (#813)
Browse files Browse the repository at this point in the history
Close #812
  • Loading branch information
fangyinc authored Nov 21, 2023
2 parents 3d33dd1 + db65c25 commit 35c1221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/vector_store/milvus_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, ctx: {}) -> None:
self.secure = ctx.get("MILVUS_SECURE", os.getenv("MILVUS_SECURE"))
self.collection_name = ctx.get("vector_store_name", None)
self.embedding = ctx.get("embeddings", None)
self.fields = ["metadata"]
self.fields = []
self.alias = "default"

# use HNSW by default.
Expand Down

0 comments on commit 35c1221

Please sign in to comment.