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 if the input data cannot be parsed to form a valid model.

param run_id: UUID [Required]#

A unique identifier for the model or chain run.