RunnableAssign(
self,
mapper: RunnableParallel[dict[str, Any]],
**kwargs: AnyConfigure particular Runnable fields at runtime.
Get a JSON schema that represents the input to the Runnable.
Get a JSON schema that represents the output of the Runnable.
The type of config this Runnable accepts specified as a Pydantic model.
Get a JSON schema that represents the config of the Runnable.
| Name | Type | Description |
|---|---|---|
mapper* | RunnableParallel[dict[str, Any]] | A |
| Name | Type |
|---|---|
| mapper | RunnableParallel[dict[str, Any]] |
Runnable that assigns key-value pairs to dict[str, Any] inputs.
The RunnableAssign class takes input dictionaries and, through a
RunnableParallel instance, applies transformations, then combines
these with the original data, introducing new key-value pairs based
on the mapper's logic.
Return a list of prompts used by this Runnable.