Home / Function/ langchain_core() — langchain Function Reference

langchain_core() — langchain Function Reference

Architecture documentation for the langchain_core() function in __init__.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  fccca043_022f_2483_4f25_f22a3b7fb909["langchain_core()"]
  4b23ff20_a8f8_3cf9_b53c_1fd60b4032c7["__init__.py"]
  fccca043_022f_2483_4f25_f22a3b7fb909 -->|defined in| 4b23ff20_a8f8_3cf9_b53c_1fd60b4032c7
  style fccca043_022f_2483_4f25_f22a3b7fb909 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/runnables/__init__.py lines 26–61

    from langchain_core.runnables.base import (
        Runnable,
        RunnableBinding,
        RunnableGenerator,
        RunnableLambda,
        RunnableMap,
        RunnableParallel,
        RunnableSequence,
        RunnableSerializable,
        chain,
    )
    from langchain_core.runnables.branch import RunnableBranch
    from langchain_core.runnables.config import (
        RunnableConfig,
        ensure_config,
        get_config_list,
        patch_config,
        run_in_executor,
    )
    from langchain_core.runnables.fallbacks import RunnableWithFallbacks
    from langchain_core.runnables.history import RunnableWithMessageHistory
    from langchain_core.runnables.passthrough import (
        RunnableAssign,
        RunnablePassthrough,
        RunnablePick,
    )
    from langchain_core.runnables.router import RouterInput, RouterRunnable
    from langchain_core.runnables.utils import (
        AddableDict,
        ConfigurableField,
        ConfigurableFieldMultiOption,
        ConfigurableFieldSingleOption,
        ConfigurableFieldSpec,
        aadd,
        add,
    )

Domain

Subdomains

Frequently Asked Questions

What does langchain_core() do?
langchain_core() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/__init__.py.
Where is langchain_core() defined?
langchain_core() is defined in libs/core/langchain_core/runnables/__init__.py at line 26.

Analyze Your Own Codebase

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

Try Supermodel Free