RunInfo#

class langchain_core.outputs.run_info.RunInfo[source]#

Bases: BaseModel

Class that contains metadata for a single execution of a Chain or model.

Defined for backwards compatibility with older versions of langchain_core.

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).

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param run_id: UUID [Required]#

A unique identifier for the model or chain run.