소스 검색

fix: init qdrant vector max recursion (#2909)

Qiwen Tong 1 년 전
부모
커밋
180775a0ec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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