Home / Function/ on_retriever_start_common() — langchain Function Reference

on_retriever_start_common() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  676a0a29_1eb2_7563_4b26_194bee2f0d58["on_retriever_start_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  676a0a29_1eb2_7563_4b26_194bee2f0d58 -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  ffbc3f5b_2593_ca07_e102_c6aeab4385af["on_retriever_start()"]
  ffbc3f5b_2593_ca07_e102_c6aeab4385af -->|calls| 676a0a29_1eb2_7563_4b26_194bee2f0d58
  style 676a0a29_1eb2_7563_4b26_194bee2f0d58 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 106–108

    def on_retriever_start_common(self) -> None:
        self.starts += 1
        self.retriever_starts += 1

Domain

Subdomains

Frequently Asked Questions

What does on_retriever_start_common() do?
on_retriever_start_common() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_retriever_start_common() defined?
on_retriever_start_common() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 106.
What calls on_retriever_start_common()?
on_retriever_start_common() is called by 1 function(s): on_retriever_start.

Analyze Your Own Codebase

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

Try Supermodel Free