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
  33f8be6a_59ea_5b08_3f8a_c92d8c1e964d["on_chat_model_start_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  33f8be6a_59ea_5b08_3f8a_c92d8c1e964d -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  f2c6af84_d763_d802_de3b_380a1a16de1a["on_chat_model_start()"]
  f2c6af84_d763_d802_de3b_380a1a16de1a -->|calls| 33f8be6a_59ea_5b08_3f8a_c92d8c1e964d
  style 33f8be6a_59ea_5b08_3f8a_c92d8c1e964d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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