Home / Function/ on_llm_end() — langchain Function Reference

on_llm_end() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a3881f35_c24e_0cff_1747_af32a77970c3["on_llm_end()"]
  c82a49cc_3a43_e4a6_1cb8_d4b415fb5209["FakeAsyncCallbackHandler"]
  a3881f35_c24e_0cff_1747_af32a77970c3 -->|defined in| c82a49cc_3a43_e4a6_1cb8_d4b415fb5209
  d48efabc_ce74_cb77_b562_2e634f8ebef3["on_llm_end()"]
  d48efabc_ce74_cb77_b562_2e634f8ebef3 -->|calls| a3881f35_c24e_0cff_1747_af32a77970c3
  5f90acda_537c_6ac6_466b_ce8bdc0bed58["on_llm_end_common()"]
  a3881f35_c24e_0cff_1747_af32a77970c3 -->|calls| 5f90acda_537c_6ac6_466b_ce8bdc0bed58
  d48efabc_ce74_cb77_b562_2e634f8ebef3["on_llm_end()"]
  a3881f35_c24e_0cff_1747_af32a77970c3 -->|calls| d48efabc_ce74_cb77_b562_2e634f8ebef3
  style a3881f35_c24e_0cff_1747_af32a77970c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 337–342

    async def on_llm_end(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> None:
        self.on_llm_end_common()

Domain

Subdomains

Called By

Frequently Asked Questions

What does on_llm_end() do?
on_llm_end() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_llm_end() defined?
on_llm_end() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 337.
What does on_llm_end() call?
on_llm_end() calls 2 function(s): on_llm_end, on_llm_end_common.
What calls on_llm_end()?
on_llm_end() is called by 1 function(s): on_llm_end.

Analyze Your Own Codebase

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

Try Supermodel Free