Home / Function/ on_llm_end() — langchain Function Reference

on_llm_end() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ecd4f9fe_54c4_9db4_d6bc_28d6a1ef2f07["on_llm_end()"]
  3e05bb5f_3e86_7d98_01bc_f37866926d8c["_FakeCallback"]
  ecd4f9fe_54c4_9db4_d6bc_28d6a1ef2f07 -->|defined in| 3e05bb5f_3e86_7d98_01bc_f37866926d8c
  9d924a95_2652_a546_2242_dd200471a820["test_chat_openai_streaming_generation_info()"]
  9d924a95_2652_a546_2242_dd200471a820 -->|calls| ecd4f9fe_54c4_9db4_d6bc_28d6a1ef2f07
  style ecd4f9fe_54c4_9db4_d6bc_28d6a1ef2f07 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_azure.py lines 110–112

        def on_llm_end(self, *args: Any, **kwargs: Any) -> Any:
            # Save the generation
            self.saved_things["generation"] = args[0]

Domain

Subdomains

Frequently Asked Questions

What does on_llm_end() do?
on_llm_end() is a function in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure.py.
Where is on_llm_end() defined?
on_llm_end() is defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure.py at line 110.
What calls on_llm_end()?
on_llm_end() is called by 1 function(s): test_chat_openai_streaming_generation_info.

Analyze Your Own Codebase

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

Try Supermodel Free