diff --git a/libs/core/langchain_core/runnables/__init__.py b/libs/core/langchain_core/runnables/__init__.py index 903eefd079f..9c4362c9c86 100644 --- a/libs/core/langchain_core/runnables/__init__.py +++ b/libs/core/langchain_core/runnables/__init__.py @@ -9,7 +9,9 @@ synchronous, asynchronous, batch, and streaming operations. Support for **async** allows servers hosting LCEL based programs to scale better for higher concurrent loads. -**Streaming** of intermediate outputs as they're being generated allows for +**Batch** operations allow for processing multiple inputs in parallel. + +**Streaming** of intermediate outputs, as they're being generated, allows for creating more responsive UX. This module contains schema and implementation of LangChain Runnables primitives. diff --git a/libs/langchain/langchain/runnables/__init__.py b/libs/langchain/langchain/runnables/__init__.py index e69de29bb2d..0a8b3c39f6c 100644 --- a/libs/langchain/langchain/runnables/__init__.py +++ b/libs/langchain/langchain/runnables/__init__.py @@ -0,0 +1,18 @@ +"""LangChain **Runnable** and the **LangChain Expression Language (LCEL)**. + +The LangChain Expression Language (LCEL) offers a declarative method to build +production-grade programs that harness the power of LLMs. + +Programs created using LCEL and LangChain Runnables inherently support +synchronous, asynchronous, batch, and streaming operations. + +Support for **async** allows servers hosting the LCEL based programs +to scale better for higher concurrent loads. + +**Batch** operations allow for processing multiple inputs in parallel. + +**Streaming** of intermediate outputs, as they're being generated, allows for +creating more responsive UX. + +This module contains non-core Runnable classes. +"""