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
  2331f184_a03d_26ca_a7fa_32b48139d604["on_chat_model_start_common()"]
  b46b67ea_0820_a4b9_6da3_4ac83ea72454["BaseFakeCallbackHandlerMixin"]
  2331f184_a03d_26ca_a7fa_32b48139d604 -->|defined in| b46b67ea_0820_a4b9_6da3_4ac83ea72454
  37ac8e32_cdfe_d447_2116_49b7617ea4fc["on_chat_model_start()"]
  37ac8e32_cdfe_d447_2116_49b7617ea4fc -->|calls| 2331f184_a03d_26ca_a7fa_32b48139d604
  style 2331f184_a03d_26ca_a7fa_32b48139d604 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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