on_chat_model_start_common() — langchain Function Reference
Architecture documentation for the on_chat_model_start_common() function in fake_callback_handler.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 002393b6_a578_fc51_5b2e_77ec5e835733["on_chat_model_start_common()"] ea671d84_7d08_f3b7_3eb4_b59396ea8e29["BaseFakeCallbackHandlerMixin"] 002393b6_a578_fc51_5b2e_77ec5e835733 -->|defined in| ea671d84_7d08_f3b7_3eb4_b59396ea8e29 21bb9651_da33_cd6b_9ae4_d429d3a28ddc["on_chat_model_start()"] 21bb9651_da33_cd6b_9ae4_d429d3a28ddc -->|calls| 002393b6_a578_fc51_5b2e_77ec5e835733 style 002393b6_a578_fc51_5b2e_77ec5e835733 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 96–98
def on_chat_model_start_common(self) -> None:
self.chat_model_starts += 1
self.starts += 1
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does on_chat_model_start_common() do?
on_chat_model_start_common() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_chat_model_start_common() defined?
on_chat_model_start_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 96.
What calls on_chat_model_start_common()?
on_chat_model_start_common() is called by 1 function(s): on_chat_model_start.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free