Skip to content

Commit

Permalink
fix bug: tencent vdb #5378 (#5408)
Browse files Browse the repository at this point in the history
  • Loading branch information
quicksandznzn authored Jun 20, 2024
1 parent b78faa4 commit 0105129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/rag/datasource/vdb/tencent/tencent_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def init_vector(self, dataset: Dataset, attributes: list, embeddings: Embeddings
dataset_id = dataset.id
collection_name = Dataset.gen_collection_name_by_id(dataset_id).lower()
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
return TencentVector(
Expand Down

0 comments on commit 0105129

Please sign in to comment.