mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 21:48:58 +08:00
fix: milvus_vector default dataset index_struct type from weaviate to milvus (#5098)
This commit is contained in:
parent
b85ae146a7
commit
edf2047f04
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user