Home / Function/ on_retriever_error() — langchain Function Reference

on_retriever_error() — langchain Function Reference

Architecture documentation for the on_retriever_error() function in callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e533ee51_9d2e_e8cc_4c60_feecc1429440["on_retriever_error()"]
  9659be4f_91d1_3b62_bcfb_38c048777165["FakeCallbackHandler"]
  e533ee51_9d2e_e8cc_4c60_feecc1429440 -->|defined in| 9659be4f_91d1_3b62_bcfb_38c048777165
  360b5558_6e73_1e2f_6ce2_f621f1f59795["on_retriever_error_common()"]
  e533ee51_9d2e_e8cc_4c60_feecc1429440 -->|calls| 360b5558_6e73_1e2f_6ce2_f621f1f59795
  style e533ee51_9d2e_e8cc_4c60_feecc1429440 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 271–276

    def on_retriever_error(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> Any:
        self.on_retriever_error_common()

Domain

Subdomains

Frequently Asked Questions

What does on_retriever_error() do?
on_retriever_error() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_retriever_error() defined?
on_retriever_error() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 271.
What does on_retriever_error() call?
on_retriever_error() calls 1 function(s): on_retriever_error_common.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free