rag.core.backends.registry¶
Dispatch ingest/query to the selected orchestration backend.
Functions¶
|
Return the backend implementation for |
Module Contents¶
- rag.core.backends.registry.get_backend(*, strategy: rag.core.strategy.RagStrategy) rag.core.backends.protocol.RagBackend[source]¶
Return the backend implementation for
strategy.- Parameters:
strategy (RagStrategy) – Orchestration library.
- Returns:
Concrete backend (imported lazily).
- Return type:
- Raises:
ValueError – If
strategyhas no backend.