chore: initial public snapshot for github upload

This commit is contained in:
Your Name
2026-03-26 20:06:14 +08:00
commit 0e5ecd930e
3497 changed files with 1586236 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)