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
  8befc159_a843_d135_9cb2_7170baa38ea0["on_retriever_error()"]
  b9664d7e_7900_dd8a_b9b3_2ee136c7b790["FakeCallbackHandler"]
  8befc159_a843_d135_9cb2_7170baa38ea0 -->|defined in| b9664d7e_7900_dd8a_b9b3_2ee136c7b790
  717fa6d0_c99a_0d07_d3d5_8ec10cdd79e4["on_retriever_error_common()"]
  8befc159_a843_d135_9cb2_7170baa38ea0 -->|calls| 717fa6d0_c99a_0d07_d3d5_8ec10cdd79e4
  style 8befc159_a843_d135_9cb2_7170baa38ea0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 190–191

    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/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_retriever_error() defined?
on_retriever_error() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 190.
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