LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggraphpregelmainNodeBuilder
    Classā—Since v0.6

    NodeBuilder

    Copy
    NodeBuilder(
        self,
    )

    Constructors

    Methods

    View source on GitHub
    constructor
    __init__
    method
    subscribe_only
    method
    subscribe_to
    method
    read_from
    method
    do
    method
    write_to
    method
    meta
    method
    add_retry_policies
    method
    add_cache_policy
    method
    set_timeout
    method
    build

    Subscribe to a single channel.

    Add channels to subscribe to.

    Node will be invoked when any of these channels are updated, with a dict of the channel values as input.

    Adds the specified channels to read from, without subscribing to them.

    Adds the specified node.

    Add channel writes.

    Add tags or metadata to the node.

    Adds retry policies to the node.

    Adds cache policies to the node.

    Set the per-attempt timeout policy for this node.

    Builds the node.