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

    Bases

    Item

    Constructors

    Attributes

    Methods

    Inherited fromItem

    Attributes

    Avalue: valueAkey: keyAnamespaceAcreated_atAupdated_at
    View source on GitHub
    [
    str
    ,
    Any
    ]
    ,
    created_at
    :
    datetime
    ,
    updated_at
    :
    datetime
    ,
    score
    :
    float
    |
    None
    =
    None
    )

    Parameters

    NameTypeDescription
    namespace*tuple[str, ...]

    Hierarchical path to the item.

    key*str

    Unique identifier within the namespace.

    value*dict[str, Any]
    created_at*datetime
    updated_at*datetime
    scorefloat | None
    Default:None
    constructor
    __init__
    NameType
    namespacetuple[str, ...]
    keystr
    valuedict[str, Any]
    created_atdatetime
    updated_atdatetime
    scorefloat | None
    attribute
    score: score
    method
    dict

    The stored value.

    When the item was first created.

    When the item was last updated.

    Relevance/similarity score if from a ranked operation.