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

Entity Profile

Dependency Diagram

graph TD
  18d8ec02_b9a0_5b8f_68d7_f00aaf1bb50f["on_chat_model_start_common()"]
  bd0f558e_4f69_e5aa_d113_623bbeb51c3d["BaseFakeCallbackHandlerMixin"]
  18d8ec02_b9a0_5b8f_68d7_f00aaf1bb50f -->|defined in| bd0f558e_4f69_e5aa_d113_623bbeb51c3d
  414ea979_e52b_c5c6_9d19_a726ab06229d["on_chat_model_start()"]
  414ea979_e52b_c5c6_9d19_a726ab06229d -->|calls| 18d8ec02_b9a0_5b8f_68d7_f00aaf1bb50f
  style 18d8ec02_b9a0_5b8f_68d7_f00aaf1bb50f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 99–101

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

Domain

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