Home / Function/ on_chat_model_start_common() — langchain Function Reference

on_chat_model_start_common() — langchain Function Reference

Architecture documentation for the on_chat_model_start_common() function in _utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  6fba6ec9_4bf6_ae80_7b01_008afc6ae077["on_chat_model_start_common()"]
  9467e1fa_6130_05ef_040c_a465e50b1e84["BaseFakeCallbackHandlerMixin"]
  6fba6ec9_4bf6_ae80_7b01_008afc6ae077 -->|defined in| 9467e1fa_6130_05ef_040c_a465e50b1e84
  style 6fba6ec9_4bf6_ae80_7b01_008afc6ae077 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 94–96

    def on_chat_model_start_common(self) -> None:
        self.chat_model_starts += 1
        self.starts += 1

Subdomains

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/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_chat_model_start_common() defined?
on_chat_model_start_common() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 94.

Analyze Your Own Codebase

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

Try Supermodel Free