RunInfo Class — langchain Architecture
Architecture documentation for the RunInfo class in run_info.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 7d1b635f_f7bd_9c64_86b3_cd3451dac16f["RunInfo"] 31907e97_300e_2181_246e_c34e3e38a1eb["run_info.py"] 7d1b635f_f7bd_9c64_86b3_cd3451dac16f -->|defined in| 31907e97_300e_2181_246e_c34e3e38a1eb
Relationship Graph
Source Code
libs/core/langchain_core/outputs/run_info.py lines 10–22
class RunInfo(BaseModel):
"""Class that contains metadata for a single execution of a chain or model.
Defined for backwards compatibility with older versions of `langchain_core`.
!!! warning "This model will likely be deprecated in the future."
Users can acquire the `run_id` information from callbacks or via `run_id`
information present in the `astream_event` API (depending on the use case).
"""
run_id: UUID
"""A unique identifier for the model or chain run."""
Defined In
Source
Frequently Asked Questions
What is the RunInfo class?
RunInfo is a class in the langchain codebase, defined in libs/core/langchain_core/outputs/run_info.py.
Where is RunInfo defined?
RunInfo is defined in libs/core/langchain_core/outputs/run_info.py at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free