Home / Function/ on_text_common() — langchain Function Reference

on_text_common() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c09b3f3b_cc40_52bb_60f6_324d130b4dd2["on_text_common()"]
  ea671d84_7d08_f3b7_3eb4_b59396ea8e29["BaseFakeCallbackHandlerMixin"]
  c09b3f3b_cc40_52bb_60f6_324d130b4dd2 -->|defined in| ea671d84_7d08_f3b7_3eb4_b59396ea8e29
  86550dee_0f64_a29f_a3a9_d73d70e42928["on_text()"]
  86550dee_0f64_a29f_a3a9_d73d70e42928 -->|calls| c09b3f3b_cc40_52bb_60f6_324d130b4dd2
  a92c3ce4_2477_004e_8fdd_e67c5394fa44["on_text()"]
  a92c3ce4_2477_004e_8fdd_e67c5394fa44 -->|calls| c09b3f3b_cc40_52bb_60f6_324d130b4dd2
  style c09b3f3b_cc40_52bb_60f6_324d130b4dd2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 100–101

    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/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_text_common() defined?
on_text_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 100.
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