bind(**kwargs)
Bind arguments to a Runnable, returning a new Runnable.
config_schema(*[, include])
The type of config this runnable accepts specified as a pydantic model.
get_input_schema([config])
The pydantic schema for the input to this runnable.
get_output_schema([config])
Get a pydantic model that can be used to validate output to the runnable.
invoke(input[, config])
Invoke this runnable synchronously.
map()
Return a new Runnable that maps a list of inputs to a list of outputs, by calling invoke() with each input.
stream(input[, config])
Default implementation of stream, which calls invoke.
transform(input[, config])
Default implementation of transform, which buffers input and then calls stream.
with_config([config])
Bind config to a Runnable, returning a new Runnable.
with_fallbacks(fallbacks, *[, ...])
Add fallbacks to a runnable, returning a new Runnable.
with_listeners(*[, on_start, on_end, on_error])
Bind lifecycle listeners to a Runnable, returning a new Runnable.
with_retry(*[, retry_if_exception_type, ...])
Create a new Runnable that retries the original runnable on exceptions.
with_types(*[, input_type, output_type])
Bind input and output types to a Runnable, returning a new Runnable.