Skip to main content

Overview

RunnableParallel allows you to execute multiple chains simultaneously, collecting their results in a dictionary. This is useful for running independent operations concurrently to maximize performance.

Basic Usage

Using RunnableParallel Class

Using Dict Syntax

Use Cases

RAG with Multiple Retrievers

Parallel + Sequential Combination

Async Parallel Execution