检索器重构
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 17m12s

This commit is contained in:
2026-04-19 22:01:55 +08:00
parent cc8ef41ef9
commit 933d418d77
26 changed files with 1694 additions and 1717 deletions

18
rag_core/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
"""
RAG Core - 公共 RAG 组件包
提供嵌入模型、向量存储和文档存储的公共功能,被 rag_indexer 和 app/rag 共用。
"""
from .embedders import LlamaCppEmbedder
from .vector_store import QdrantVectorStore, QDRANT_URL, QDRANT_API_KEY
from .store import PostgresDocStore, create_docstore
__all__ = [
"LlamaCppEmbedder",
"QdrantVectorStore",
"QDRANT_URL",
"QDRANT_API_KEY",
"PostgresDocStore",
"create_docstore",
]