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.storebaseSearchItem
    Class●Since v2.0

    SearchItem

    Represents an item returned from a search operation with additional metadata.

    Copy
    SearchItem(
      self,
      namespace: tuple[str, ...],
      key: str,
      value: dict[str, Any],
      created_at: datetime,
      updated_at: datetime,
      score: float | None = None
    )

    Bases

    Item

    Parameters

    NameTypeDescription
    namespace*tuple[str, ...]

    Hierarchical path to the item.

    key*str

    Unique identifier within the namespace.

    value*dict[str, Any]

    The stored value.

    created_at*datetime

    When the item was first created.

    updated_at*datetime

    When the item was last updated.

    scorefloat | None
    Default:None

    Relevance/similarity score if from a ranked operation.

    Constructors

    constructor
    __init__
    NameType
    namespacetuple[str, ...]
    keystr
    valuedict[str, Any]
    created_atdatetime
    updated_atdatetime
    scorefloat | None

    Attributes

    attribute
    score: score

    Methods

    method
    dict

    Inherited fromItem

    Attributes

    Avalue: valueAkey: keyAnamespaceAcreated_atAupdated_at
    View source on GitHub