Home / Function/ _on_llm_end() — langchain Function Reference

_on_llm_end() — langchain Function Reference

Architecture documentation for the _on_llm_end() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  555ba701_f596_3e8c_da78_286234d79a89["_on_llm_end()"]
  b3ab8001_c14c_4191_ca53_2dbabc99917f["AsyncBaseTracer"]
  555ba701_f596_3e8c_da78_286234d79a89 -->|defined in| b3ab8001_c14c_4191_ca53_2dbabc99917f
  2e5b0e88_5d49_22a7_15ba_65f2c22a4441["on_llm_end()"]
  2e5b0e88_5d49_22a7_15ba_65f2c22a4441 -->|calls| 555ba701_f596_3e8c_da78_286234d79a89
  50d3e466_f9d5_7579_3e8d_d6691ad916d1["on_llm_end()"]
  50d3e466_f9d5_7579_3e8d_d6691ad916d1 -->|calls| 555ba701_f596_3e8c_da78_286234d79a89
  style 555ba701_f596_3e8c_da78_286234d79a89 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/tracers/base.py lines 876–877

    async def _on_llm_end(self, run: Run) -> None:
        """Process the LLM Run."""

Domain

Subdomains

Frequently Asked Questions

What does _on_llm_end() do?
_on_llm_end() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/base.py.
Where is _on_llm_end() defined?
_on_llm_end() is defined in libs/core/langchain_core/tracers/base.py at line 876.
What calls _on_llm_end()?
_on_llm_end() is called by 2 function(s): on_llm_end, on_llm_end.

Analyze Your Own Codebase

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

Try Supermodel Free