Files
ailine/backend/rag_core/__init__.py

22 lines
549 B
Python
Raw Normal View History

2026-04-21 11:02:16 +08:00
"""
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",
]