langchain.callbacks.tracers.schemas.Run¶
class langchain.callbacks.tracers.schemas.Run[source]¶
Bases: RunBase
Run schema for the V2 API in the Tracer.
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 child_execution_order: int [Required]¶
param child_runs: List[langchain.callbacks.tracers.schemas.Run] [Optional]¶
param end_time: Optional[<module 'datetime' from '/home/docs/.asdf/installs/python/3.11.4/lib/python3.11/datetime.py'>] = None¶
End time of the run, if applicable.
param error: Optional[str] = None¶
Error message, if the run encountered any issues.
param events: Optional[List[Dict]] = None¶
List of events associated with the run, like
start and end events.
param execution_order: int [Required]¶
param extra: Optional[dict] = None¶
Additional metadata or settings related to the run.
param id: uuid.UUID [Required]¶
Unique identifier for the run.
param inputs: dict [Required]¶
Inputs used for the run.
param name: str [Required]¶
Human-readable name for the run.
param outputs: Optional[dict] = None¶
Outputs generated by the run, if any.
param parent_run_id: Optional[uuid.UUID] = None¶
Identifier for a parent run, if this run is a sub-run.
param reference_example_id: Optional[uuid.UUID] = None¶
Reference to an example that this run may be based on.
param run_type: str [Required]¶
The type of run, such as tool, chain, llm, retriever,
embedding, prompt, parser.