测试修改

This commit is contained in:
2026-04-21 20:49:10 +08:00
parent 37e86f3bb1
commit 5e9bbd519f
6 changed files with 18 additions and 53 deletions

View File

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

View File

@@ -94,7 +94,6 @@ class IndexBuilder:
# 初始化向量存储
self.vector_store = QdrantVectorStore(
collection_name=config.collection_name,
embeddings=self.embeddings,
)
# 根据切分类型初始化相关组件