ソースを参照

fix: milvus_vector default dataset index_struct type from weaviate to milvus (#5098)

saga.rey 10 ヶ月 前
コミット
edf2047f04
1 ファイル変更1 行追加1 行削除
  1. 1 1
      api/core/rag/datasource/vdb/milvus/milvus_vector.py

+ 1 - 1
api/core/rag/datasource/vdb/milvus/milvus_vector.py

@@ -279,7 +279,7 @@ class MilvusVectorFactory(AbstractVectorFactory):
             dataset_id = dataset.id
             collection_name = Dataset.gen_collection_name_by_id(dataset_id)
             dataset.index_struct = json.dumps(
-                self.gen_index_struct_dict(VectorType.WEAVIATE, collection_name))
+                self.gen_index_struct_dict(VectorType.MILVUS, collection_name))
 
         config = current_app.config
         return MilvusVector(