__all__ = ["RagRepository", "RagSession", "RagSessionStore"]


def __getattr__(name: str):
    if name == "RagRepository":
        from app.core.rag.persistence.repository import RagRepository

        return RagRepository
    if name == "RagSession":
        from app.core.rag.persistence.session_store import RagSession

        return RagSession
    if name == "RagSessionStore":
        from app.core.rag.persistence.session_store import RagSessionStore

        return RagSessionStore
    raise AttributeError(name)
