A Runnable that selects which branch to run based on a condition.
schema.runnable.base.RunnableEach
A runnable that delegates calls to another runnable with each element of the input sequence.
schema.runnable.base.RunnableGenerator(transform)
A runnable that runs a generator function.
schema.runnable.base.RunnableLambda(func[, ...])
A runnable that runs a callable.
schema.runnable.base.RunnableMap
A runnable that runs a mapping of runnables in parallel, and returns a mapping of their outputs.
schema.runnable.base.RunnableSequence
A sequence of runnables, where the output of each is the input of the next.
schema.runnable.base.RunnableWithFallbacks
A Runnable that can fallback to other Runnables if it fails.
schema.runnable.config.RunnableConfig
Configuration for a Runnable.
schema.runnable.passthrough.RunnableAssign
A runnable that assigns key-value pairs to Dict[str, Any] inputs.
schema.runnable.passthrough.RunnablePassthrough
A runnable that passes through the input.
schema.runnable.retry.RunnableRetry
Retry a Runnable if it fails.
schema.runnable.router.RouterInput
A Router input.
schema.runnable.router.RouterRunnable
A runnable that routes to a set of runnables based on Input['key'].
schema.runnable.utils.AddableDict
Dictionary that can be added to another dictionary.
schema.runnable.utils.GetLambdaSource()
schema.runnable.utils.IsFunctionArgDict()
schema.runnable.utils.IsLocalDict(name, keys)
schema.runnable.utils.SupportsAdd(*args, ...)
schema.storage.BaseStore()
Abstract interface for a key-value store.
schema.vectorstore.VectorStore()
Interface for vector store.
schema.vectorstore.VectorStoreRetriever
Base Retriever class for VectorStore.
Functions¶
schema.messages.get_buffer_string(messages)