fix: init qdrant vector max recursion (#2909)

This commit is contained in:
Qiwen Tong
2024-03-20 14:57:13 +08:00
committed by GitHub
parent d018e279f8
commit 180775a0ec

View File

@@ -66,7 +66,7 @@ class Vector:
raise ValueError('Dataset Collection Bindings is not exist!') raise ValueError('Dataset Collection Bindings is not exist!')
else: else:
if self._dataset.index_struct_dict: if self._dataset.index_struct_dict:
class_prefix: str = self.dataset.index_struct_dict['vector_store']['class_prefix'] class_prefix: str = self._dataset.index_struct_dict['vector_store']['class_prefix']
collection_name = class_prefix collection_name = class_prefix
else: else:
dataset_id = self._dataset.id dataset_id = self._dataset.id