rag.core.backends.registry ========================== .. py:module:: rag.core.backends.registry .. autoapi-nested-parse:: Dispatch ingest/query to the selected orchestration backend. Functions --------- .. autoapisummary:: rag.core.backends.registry.get_backend Module Contents --------------- .. py:function:: get_backend(*, strategy: rag.core.strategy.RagStrategy) -> rag.core.backends.protocol.RagBackend Return the backend implementation for ``strategy``. :param strategy: Orchestration library. :type strategy: RagStrategy :returns: Concrete backend (imported lazily). :rtype: RagBackend :raises ValueError: If ``strategy`` has no backend.