on_llm_end() — langchain Function Reference
Architecture documentation for the on_llm_end() function in test_chat_models.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 57dfdc76_4351_a024_13da_6929ba713661["on_llm_end()"] 2119022a_1c9f_44fb_786c_1c09b7a93f01["_FakeCallback"] 57dfdc76_4351_a024_13da_6929ba713661 -->|defined in| 2119022a_1c9f_44fb_786c_1c09b7a93f01 0668c062_4348_3c66_cb15_7872fc746a68["test_streaming_generation_info()"] 0668c062_4348_3c66_cb15_7872fc746a68 -->|calls| 57dfdc76_4351_a024_13da_6929ba713661 style 57dfdc76_4351_a024_13da_6929ba713661 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/groq/tests/integration_tests/test_chat_models.py lines 372–378
def on_llm_end(
self,
*args: Any,
**kwargs: Any,
) -> Any:
# Save the generation
self.saved_things["generation"] = args[0]
Domain
Subdomains
Called By
Source
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/integration_tests/test_chat_models.py.
Where is on_llm_end() defined?
on_llm_end() is defined in libs/partners/groq/tests/integration_tests/test_chat_models.py at line 372.
What calls on_llm_end()?
on_llm_end() is called by 1 function(s): test_streaming_generation_info.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free