Files
ailine/rag_core/__init__.py

22 lines
581 B
Python
Raw Normal View History

2026-04-19 22:01:55 +08:00
"""
RAG Core - 公共 RAG 组件包
提供嵌入模型向量存储和文档存储的公共功能 rag_indexer app/rag 共用
"""
from rag_core.embedders import LlamaCppEmbedder
from rag_core.vector_store import QdrantVectorStore, QDRANT_URL, QDRANT_API_KEY
from rag_core.store import PostgresDocStore, create_docstore
from rag_core.retriever_factory import create_parent_retriever
2026-04-20 01:10:18 +08:00
2026-04-19 22:01:55 +08:00
__all__ = [
"LlamaCppEmbedder",
"QdrantVectorStore",
"QDRANT_URL",
"QDRANT_API_KEY",
"PostgresDocStore",
"create_docstore",
2026-04-20 01:10:18 +08:00
"create_parent_retriever",
2026-04-19 22:01:55 +08:00
]