mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 18:49:02 +08:00
parent
b78faa461f
commit
0105129fa8
@ -210,7 +210,7 @@ class TencentVectorFactory(AbstractVectorFactory):
|
|||||||
dataset_id = dataset.id
|
dataset_id = dataset.id
|
||||||
collection_name = Dataset.gen_collection_name_by_id(dataset_id).lower()
|
collection_name = Dataset.gen_collection_name_by_id(dataset_id).lower()
|
||||||
dataset.index_struct = json.dumps(
|
dataset.index_struct = json.dumps(
|
||||||
self.gen_index_struct_dict(VectorType.TIDB_VECTOR, collection_name))
|
self.gen_index_struct_dict(VectorType.TENCENT, collection_name))
|
||||||
|
|
||||||
config = current_app.config
|
config = current_app.config
|
||||||
return TencentVector(
|
return TencentVector(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user