Home / Function/ on_llm_end() — langchain Function Reference

on_llm_end() — langchain Function Reference

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

Function python LangChainCore Runnables calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  9d76bfdc_eb77_e711_ca4d_754bfed313f8["on_llm_end()"]
  97fbbdab_62ae_4a18_0986_15714bc2ccda["FakeCallbackHandler"]
  9d76bfdc_eb77_e711_ca4d_754bfed313f8 -->|defined in| 97fbbdab_62ae_4a18_0986_15714bc2ccda
  2c5184ec_db94_cd1c_acaa_145e954cd29f["on_llm_end()"]
  2c5184ec_db94_cd1c_acaa_145e954cd29f -->|calls| 9d76bfdc_eb77_e711_ca4d_754bfed313f8
  324ee27c_9fa4_7bff_4761_80f5a9f69024["on_llm_end_common()"]
  9d76bfdc_eb77_e711_ca4d_754bfed313f8 -->|calls| 324ee27c_9fa4_7bff_4761_80f5a9f69024
  2c5184ec_db94_cd1c_acaa_145e954cd29f["on_llm_end()"]
  9d76bfdc_eb77_e711_ca4d_754bfed313f8 -->|calls| 2c5184ec_db94_cd1c_acaa_145e954cd29f
  style 9d76bfdc_eb77_e711_ca4d_754bfed313f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 156–161

    def on_llm_end(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> Any:
        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/partners/groq/tests/unit_tests/fake/callbacks.py.
Where is on_llm_end() defined?
on_llm_end() is defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py at line 156.
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