| Name | Type | Description |
|---|---|---|
inputs | Optional[Mapping[str, Any]] | Default: NOT_PROVIDEDThe inputs to set. |
outputs | Optional[Mapping[str, Any]] | Default: NOT_PROVIDED |
tags | Optional[Sequence[str]] | Default: NOT_PROVIDED |
metadata | Optional[Mapping[str, Any]] | Default: NOT_PROVIDED |
usage_metadata | Optional[ls_schemas.ExtractedUsageMetadata] | Default: NOT_PROVIDED |
Set the inputs, outputs, tags, and metadata of the run.
If performed, this will override the default behavior of the end() method to ignore new outputs (that would otherwise be added) by the @traceable decorator.
If your LangChain or LangGraph versions are sufficiently up-to-date,
this will also override the default behavior of LangChainTracer.
The outputs to set.
The tags to set.
The metadata to set.
Usage information to set.