chore: initial snapshot for gitea/github upload

This commit is contained in:
Your Name
2026-03-26 16:04:46 +08:00
commit a699a1ac98
3497 changed files with 1586237 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
"""
LiteLLM RAG (Retrieval Augmented Generation) Module.
Provides an all-in-one API for document ingestion:
Upload -> (OCR) -> Chunk -> Embed -> Vector Store
"""
from litellm.rag.main import aingest, aquery, ingest, query
__all__ = ["ingest", "aingest", "query", "aquery"]
# Expose at litellm.rag level for convenience
async def arag_ingest(*args, **kwargs):
"""Alias for aingest."""
return await aingest(*args, **kwargs)
def rag_ingest(*args, **kwargs):
"""Alias for ingest."""
return ingest(*args, **kwargs)