Browse Source

fix: init qdrant vector max recursion (#2909)

tags/0.6.0-preview-workflow.1
Qiwen Tong 1 year ago
parent
commit
180775a0ec
No account linked to committer's email address
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 View File

@@ -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

Loading…
Cancel
Save