LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • 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

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.storebasePutOpnamespace
    Attribute●Since v1.0

    namespace

    Hierarchical path that identifies the location of the item.

    The namespace acts as a folder-like structure to organize items. Each element in the tuple represents one level in the hierarchy.

    Examples

    Root level documents:

    ("documents",)

    User-specific documents:

    ("documents", "user123")

    Nested cache structure:

    ("cache", "embeddings", "v1")
    Copy
    namespace: tuple[str, ...]
    View source on GitHub