Browse Source

fix: init qdrant vector max recursion (#2909)

Qiwen Tong 1 year ago
parent
commit
180775a0ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/core/rag/datasource/vdb/vector_factory.py

+ 1 - 1
api/core/rag/datasource/vdb/vector_factory.py

@@ -66,7 +66,7 @@ class Vector:
                     raise ValueError('Dataset Collection Bindings is not exist!')
             else:
                 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
                 else:
                     dataset_id = self._dataset.id