Home / Function/ on_retriever_error_common() — langchain Function Reference

on_retriever_error_common() — langchain Function Reference

Architecture documentation for the on_retriever_error_common() function in _utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  911879cb_8aed_73e5_c344_9f54469c6bb7["on_retriever_error_common()"]
  9467e1fa_6130_05ef_040c_a465e50b1e84["BaseFakeCallbackHandlerMixin"]
  911879cb_8aed_73e5_c344_9f54469c6bb7 -->|defined in| 9467e1fa_6130_05ef_040c_a465e50b1e84
  5bdeac33_84e4_b73f_8180_a16ab68cc896["on_retriever_error()"]
  5bdeac33_84e4_b73f_8180_a16ab68cc896 -->|calls| 911879cb_8aed_73e5_c344_9f54469c6bb7
  style 911879cb_8aed_73e5_c344_9f54469c6bb7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 109–111

    def on_retriever_error_common(self) -> None:
        self.errors += 1
        self.retriever_errors += 1

Subdomains

Frequently Asked Questions

What does on_retriever_error_common() do?
on_retriever_error_common() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_retriever_error_common() defined?
on_retriever_error_common() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 109.
What calls on_retriever_error_common()?
on_retriever_error_common() is called by 1 function(s): on_retriever_error.

Analyze Your Own Codebase

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

Try Supermodel Free