A Runnable that can fallback to other Runnables if it fails.
runnables.history.RunnableWithMessageHistory
A runnable that manages chat message history for another runnable.
runnables.passthrough.RunnableAssign
A runnable that assigns key-value pairs to Dict[str, Any] inputs.
runnables.passthrough.RunnablePassthrough
A runnable to passthrough inputs unchanged or with additional keys.
runnables.retry.RunnableRetry
Retry a Runnable if it fails.
runnables.router.RouterInput
A Router input.
runnables.router.RouterRunnable
A runnable that routes to a set of runnables based on Input['key'].
runnables.utils.AddableDict
Dictionary that can be added to another dictionary.
runnables.utils.ConfigurableField(id[, ...])
A field that can be configured by the user.
runnables.utils.ConfigurableFieldMultiOption(id, ...)
A field that can be configured by the user with multiple default values.
runnables.utils.ConfigurableFieldSingleOption(id, ...)
A field that can be configured by the user with a default value.
runnables.utils.ConfigurableFieldSpec(id, ...)
A field that can be configured by the user.
runnables.utils.GetLambdaSource()
Get the source code of a lambda function.
runnables.utils.IsFunctionArgDict()
Check if the first argument of a function is a dict.
runnables.utils.IsLocalDict(name, keys)
Check if a name is a local dict.
runnables.utils.SupportsAdd(*args, **kwargs)
Protocol for objects that support addition.
Functions¶
runnables.base.coerce_to_runnable(thing)
Coerce a runnable-like object into a Runnable.
runnables.config.acall_func_with_variable_args(...)