Home / File/ base.py — langchain Source File

base.py — langchain Source File

Architecture documentation for base.py, a python file in the langchain codebase. 2 imports, 0 dependents.

File python 2 imports

Entity Profile

Dependency Diagram

graph LR
  771b8334_e402_b86e_6e06_78bf12b41039["base.py"]
  15b6f2ac_8a3b_5719_0e4d_4652995195ed["langchain_core.runnables.base"]
  771b8334_e402_b86e_6e06_78bf12b41039 --> 15b6f2ac_8a3b_5719_0e4d_4652995195ed
  b4920617_3c91_2457_3f8c_84ba49f64322["langchain_core.runnables.utils"]
  771b8334_e402_b86e_6e06_78bf12b41039 --> b4920617_3c91_2457_3f8c_84ba49f64322
  style 771b8334_e402_b86e_6e06_78bf12b41039 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from langchain_core.runnables.base import (
    Other,
    Runnable,
    RunnableBinding,
    RunnableBindingBase,
    RunnableEach,
    RunnableEachBase,
    RunnableGenerator,
    RunnableLambda,
    RunnableLike,
    RunnableParallel,
    RunnableSequence,
    RunnableSerializable,
    coerce_to_runnable,
)
from langchain_core.runnables.utils import Input, Output

# Backwards compatibility.
RunnableMap = RunnableParallel

__all__ = [
    "Input",
    "Other",
    "Output",
    "Runnable",
    "RunnableBinding",
    "RunnableBindingBase",
    "RunnableEach",
    "RunnableEachBase",
    "RunnableGenerator",
    "RunnableLambda",
    "RunnableLike",
    "RunnableMap",
    "RunnableParallel",
    "RunnableSequence",
    "RunnableSerializable",
    "coerce_to_runnable",
]

Dependencies

  • langchain_core.runnables.base
  • langchain_core.runnables.utils

Frequently Asked Questions

What does base.py do?
base.py is a source file in the langchain codebase, written in python.
What does base.py depend on?
base.py imports 2 module(s): langchain_core.runnables.base, langchain_core.runnables.utils.
Where is base.py in the architecture?
base.py is located at libs/langchain/langchain_classic/schema/runnable/base.py (directory: libs/langchain/langchain_classic/schema/runnable).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free