测试修改
This commit is contained in:
@@ -42,7 +42,7 @@ import sys
|
||||
from pathlib import Path
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent / "backend"))
|
||||
|
||||
from rag_core import (
|
||||
from backend.rag_core import (
|
||||
LlamaCppEmbedder,
|
||||
QdrantVectorStore,
|
||||
PostgresDocStore,
|
||||
|
||||
@@ -94,7 +94,6 @@ class IndexBuilder:
|
||||
# 初始化向量存储
|
||||
self.vector_store = QdrantVectorStore(
|
||||
collection_name=config.collection_name,
|
||||
embeddings=self.embeddings,
|
||||
)
|
||||
|
||||
# 根据切分类型初始化相关组件
|
||||
|
||||
Reference in New Issue
Block a user