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 callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  a15ae4bf_75ba_4b35_143c_805602404e62["on_llm_start_common()"]
  bd0f558e_4f69_e5aa_d113_623bbeb51c3d["BaseFakeCallbackHandlerMixin"]
  a15ae4bf_75ba_4b35_143c_805602404e62 -->|defined in| bd0f558e_4f69_e5aa_d113_623bbeb51c3d
  fb87b897_578b_8e91_e489_cb75c5d5e820["on_llm_start()"]
  fb87b897_578b_8e91_e489_cb75c5d5e820 -->|calls| a15ae4bf_75ba_4b35_143c_805602404e62
  f36b1c76_03fe_ebdf_32ac_c88b386440f3["on_llm_start()"]
  f36b1c76_03fe_ebdf_32ac_c88b386440f3 -->|calls| a15ae4bf_75ba_4b35_143c_805602404e62
  style a15ae4bf_75ba_4b35_143c_805602404e62 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 51–53

    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/core/tests/unit_tests/fake/callbacks.py.
Where is on_llm_start_common() defined?
on_llm_start_common() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 51.
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