Files
ailine/rag_core/__init__.py
root 3c906e91d9
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 35m37s
重排,多路查询
2026-04-20 01:10:18 +08:00

22 lines
549 B
Python

"""
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
from .retriever_factory import create_parent_retriever
__all__ = [
"LlamaCppEmbedder",
"QdrantVectorStore",
"QDRANT_URL",
"QDRANT_API_KEY",
"PostgresDocStore",
"create_docstore",
"create_parent_retriever",
]