Validate and prepare chain outputs, and save info about this run to memory.
aprep_outputs(
self,
inputs: dict[str, str],
outputs: dict[str, str],
return_only_outputs: bool = False
) -> dict[str, str]| Name | Type | Description |
|---|---|---|
inputs* | dict[str, str] | Dictionary of chain inputs, including any inputs added by chain memory. |
outputs* | dict[str, str] | Dictionary of initial chain outputs. |
return_only_outputs | bool | Default: FalseWhether to only return the chain outputs. If |