on_text() — langchain Function Reference
Architecture documentation for the on_text() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD fdd54958_c95c_1aa0_ed0a_cda4024473cf["on_text()"] b1da79c3_cb84_0799_b179_c8776facb43e["FakeAsyncCallbackHandler"] fdd54958_c95c_1aa0_ed0a_cda4024473cf -->|defined in| b1da79c3_cb84_0799_b179_c8776facb43e 1fe03f64_2849_6816_8986_db64c86b33a0["on_text()"] 1fe03f64_2849_6816_8986_db64c86b33a0 -->|calls| fdd54958_c95c_1aa0_ed0a_cda4024473cf 063597b1_65b5_83fa_bbe5_aa180845db69["on_text_common()"] fdd54958_c95c_1aa0_ed0a_cda4024473cf -->|calls| 063597b1_65b5_83fa_bbe5_aa180845db69 1fe03f64_2849_6816_8986_db64c86b33a0["on_text()"] fdd54958_c95c_1aa0_ed0a_cda4024473cf -->|calls| 1fe03f64_2849_6816_8986_db64c86b33a0 style fdd54958_c95c_1aa0_ed0a_cda4024473cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 268–269
async def on_text(self, *args: Any, **kwargs: Any) -> None:
self.on_text_common()
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does on_text() do?
on_text() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_text() defined?
on_text() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 268.
What does on_text() call?
on_text() calls 2 function(s): on_text, on_text_common.
What calls on_text()?
on_text() is called by 1 function(s): on_text.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free