From 180775a0ec1f5a3a89c5ece11c646c4f52752f3b Mon Sep 17 00:00:00 2001 From: Qiwen Tong <132146847+ethuwlwfu3288@users.noreply.github.com> Date: Wed, 20 Mar 2024 14:57:13 +0800 Subject: [PATCH] fix: init qdrant vector max recursion (#2909) --- api/core/rag/datasource/vdb/vector_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/rag/datasource/vdb/vector_factory.py b/api/core/rag/datasource/vdb/vector_factory.py index 109d36583..27ae15a02 100644 --- a/api/core/rag/datasource/vdb/vector_factory.py +++ b/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