on_llm_start() — langchain Function Reference
Architecture documentation for the on_llm_start() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD f36b1c76_03fe_ebdf_32ac_c88b386440f3["on_llm_start()"] 420de797_6be5_1482_0203_e7dd66c71fd0["FakeAsyncCallbackHandler"] f36b1c76_03fe_ebdf_32ac_c88b386440f3 -->|defined in| 420de797_6be5_1482_0203_e7dd66c71fd0 fb87b897_578b_8e91_e489_cb75c5d5e820["on_llm_start()"] fb87b897_578b_8e91_e489_cb75c5d5e820 -->|calls| f36b1c76_03fe_ebdf_32ac_c88b386440f3 a15ae4bf_75ba_4b35_143c_805602404e62["on_llm_start_common()"] f36b1c76_03fe_ebdf_32ac_c88b386440f3 -->|calls| a15ae4bf_75ba_4b35_143c_805602404e62 fb87b897_578b_8e91_e489_cb75c5d5e820["on_llm_start()"] f36b1c76_03fe_ebdf_32ac_c88b386440f3 -->|calls| fb87b897_578b_8e91_e489_cb75c5d5e820 style f36b1c76_03fe_ebdf_32ac_c88b386440f3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/fake/callbacks.py lines 325–330
async def on_llm_start(
self,
*args: Any,
**kwargs: Any,
) -> None:
self.on_llm_start_common()
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does on_llm_start() do?
on_llm_start() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_llm_start() defined?
on_llm_start() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 325.
What does on_llm_start() call?
on_llm_start() calls 2 function(s): on_llm_start, on_llm_start_common.
What calls on_llm_start()?
on_llm_start() is called by 1 function(s): on_llm_start.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free