_on_retriever_error() — langchain Function Reference
Architecture documentation for the _on_retriever_error() function in core.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 7edda5b0_7ca9_6f7a_3ce7_d1b8adbf1d82["_on_retriever_error()"] 70348e44_de0f_ccb4_c06a_8453289ed93e["_TracerCore"] 7edda5b0_7ca9_6f7a_3ce7_d1b8adbf1d82 -->|defined in| 70348e44_de0f_ccb4_c06a_8453289ed93e style 7edda5b0_7ca9_6f7a_3ce7_d1b8adbf1d82 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/tracers/core.py lines 698–705
def _on_retriever_error(self, run: Run) -> Coroutine[Any, Any, None] | None:
"""Process the Retriever Run upon error.
Args:
run: The retriever run.
"""
_ = run
return None
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does _on_retriever_error() do?
_on_retriever_error() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/core.py.
Where is _on_retriever_error() defined?
_on_retriever_error() is defined in libs/core/langchain_core/tracers/core.py at line 698.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free