on_llm_new_token_common() — langchain Function Reference
Architecture documentation for the on_llm_new_token_common() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 221b9887_47cf_69f0_5fc4_041213dc8e87["on_llm_new_token_common()"] b46b67ea_0820_a4b9_6da3_4ac83ea72454["BaseFakeCallbackHandlerMixin"] 221b9887_47cf_69f0_5fc4_041213dc8e87 -->|defined in| b46b67ea_0820_a4b9_6da3_4ac83ea72454 8717bc24_41ed_3439_c398_d2a08aa0316d["on_llm_new_token()"] 8717bc24_41ed_3439_c398_d2a08aa0316d -->|calls| 221b9887_47cf_69f0_5fc4_041213dc8e87 bc683e44_8acf_1647_a8c6_9d8198b78def["on_llm_new_token()"] bc683e44_8acf_1647_a8c6_9d8198b78def -->|calls| 221b9887_47cf_69f0_5fc4_041213dc8e87 style 221b9887_47cf_69f0_5fc4_041213dc8e87 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 63–64
def on_llm_new_token_common(self) -> None:
self.llm_streams += 1
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does on_llm_new_token_common() do?
on_llm_new_token_common() is a function in the langchain codebase, defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py.
Where is on_llm_new_token_common() defined?
on_llm_new_token_common() is defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py at line 63.
What calls on_llm_new_token_common()?
on_llm_new_token_common() is called by 2 function(s): on_llm_new_token, on_llm_new_token.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free