LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-clischemasStoreConfig
    Class●Since v0.4

    StoreConfig

    Copy
    StoreConfig()

    Bases

    TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    indexIndexConfig | None
    ttlTTLConfig | None
    attribute
    index: IndexConfig | None

    Optional. Defines the vector-based semantic search configuration.

    If provided, the store will:

    • Generate embeddings according to index.embed
    • Enforce the embedding dimension given by index.dims
    • Embed only specified JSON fields (if any) from index.fields

    If omitted, no vector index is initialized.

    attribute
    ttl: TTLConfig | None

    Optional. Defines the TTL (time-to-live) behavior configuration.

    If provided, the store will apply TTL settings according to the configuration. If omitted, no TTL behavior is configured.

    Configuration for the built-in long-term memory store.

    This store can optionally perform semantic search. If you omit index, the store will just handle traditional (non-embedded) data without vector lookups.