Home / Function/ on_text_common() — langchain Function Reference

on_text_common() — langchain Function Reference

Architecture documentation for the on_text_common() function in callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  063597b1_65b5_83fa_bbe5_aa180845db69["on_text_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  063597b1_65b5_83fa_bbe5_aa180845db69 -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  1fe03f64_2849_6816_8986_db64c86b33a0["on_text()"]
  1fe03f64_2849_6816_8986_db64c86b33a0 -->|calls| 063597b1_65b5_83fa_bbe5_aa180845db69
  fdd54958_c95c_1aa0_ed0a_cda4024473cf["on_text()"]
  fdd54958_c95c_1aa0_ed0a_cda4024473cf -->|calls| 063597b1_65b5_83fa_bbe5_aa180845db69
  style 063597b1_65b5_83fa_bbe5_aa180845db69 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 103–104

    def on_text_common(self) -> None:
        self.text += 1

Domain

Subdomains

Called By

Frequently Asked Questions

What does on_text_common() do?
on_text_common() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_text_common() defined?
on_text_common() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 103.
What calls on_text_common()?
on_text_common() is called by 2 function(s): on_text, on_text.

Analyze Your Own Codebase

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

Try Supermodel Free