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
  2a54643c_71e5_18b6_682f_2f4e3f264e08["on_llm_start_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  2a54643c_71e5_18b6_682f_2f4e3f264e08 -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  798a88bd_9749_d8ed_5da2_f73ebd7471b9["on_llm_start()"]
  798a88bd_9749_d8ed_5da2_f73ebd7471b9 -->|calls| 2a54643c_71e5_18b6_682f_2f4e3f264e08
  a38f4245_cf8e_5bf0_ab50_237d3540075e["on_llm_start()"]
  a38f4245_cf8e_5bf0_ab50_237d3540075e -->|calls| 2a54643c_71e5_18b6_682f_2f4e3f264e08
  style 2a54643c_71e5_18b6_682f_2f4e3f264e08 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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