Home / Function/ on_llm_start_common() — langchain Function Reference

on_llm_start_common() — langchain Function Reference

Architecture documentation for the on_llm_start_common() function in fake_callback_handler.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  007bceb7_79f8_1992_5264_3a847f312637["on_llm_start_common()"]
  ea671d84_7d08_f3b7_3eb4_b59396ea8e29["BaseFakeCallbackHandlerMixin"]
  007bceb7_79f8_1992_5264_3a847f312637 -->|defined in| ea671d84_7d08_f3b7_3eb4_b59396ea8e29
  74e89d03_93b7_0413_3f6e_005767b5ba11["on_llm_start()"]
  74e89d03_93b7_0413_3f6e_005767b5ba11 -->|calls| 007bceb7_79f8_1992_5264_3a847f312637
  f39fddd9_ad5b_de1c_3eb9_b7387e293785["on_llm_start()"]
  f39fddd9_ad5b_de1c_3eb9_b7387e293785 -->|calls| 007bceb7_79f8_1992_5264_3a847f312637
  style 007bceb7_79f8_1992_5264_3a847f312637 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 49–51

    def on_llm_start_common(self) -> None:
        self.llm_starts += 1
        self.starts += 1

Domain

Subdomains

Frequently Asked Questions

What does on_llm_start_common() do?
on_llm_start_common() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_llm_start_common() defined?
on_llm_start_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 49.
What calls on_llm_start_common()?
on_llm_start_common() is called by 2 function(s): on_llm_start, on_llm_start.

Analyze Your Own Codebase

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

Try Supermodel Free