From db65c2599d913a4796092b1529e4e88204fe3264 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Tue, 21 Nov 2023 13:22:34 +0800 Subject: [PATCH] fix:Milvus create collection bug Close #812 --- pilot/vector_store/milvus_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilot/vector_store/milvus_store.py b/pilot/vector_store/milvus_store.py index 0083e9cb3..1a51f88c0 100644 --- a/pilot/vector_store/milvus_store.py +++ b/pilot/vector_store/milvus_store.py @@ -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.