langchain_core.runnables.base.RunnableSerializable

Note

RunnableSerializable implements the standard Runnable Interface. 🏃

class langchain_core.runnables.base.RunnableSerializable[source]

Bases: Serializable, Runnable[Input, Output]

Runnable that can be serialized to JSON.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Examples using RunnableSerializable