Skip to main content

agrag.retrieval.errors.AllRetrievalMethodsFailedError

AllRetrievalMethodsFailedError(failures:dict[str, BaseException]) -> None

Bases: RetrievalError

Every retrieval method a Recipe named failed.

Raised instead of returning an empty result list so a total retrieval outage is not mistaken for a query with no matches.

Attributes:

  • failures – Each failed method name mapped to the exception it raised.

failures​

failures = failures