LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
  • Ui
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Utils
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-checkpointSearchItem
Interface●Since v0.0

SearchItem

Represents a search result item with relevance score. Extends the base Item interface with an optional similarity score.

Copy
interface SearchItem

Bases

Item

Properties

property
createdAt: Date

Timestamp of item creation.

property
key: string

Unique identifier within the namespace.

property
namespace: string[]

Hierarchical path defining the collection in which this document resides. Represented as an array of strings, allowing for nested categorization. For example: ["documents", "user123"]

property
score: number

Relevance/similarity score if from a ranked operation. Higher scores indicate better matches.

This is typically a cosine similarity score between -1 and 1, where 1 indicates identical vectors and -1 indicates opposite vectors.

property
updatedAt: Date

Timestamp of last update.

property
value: Record<string, any>

The stored data as an object. Keys are filterable.

Inherited fromItem

Properties

PcreatedAt: Date
—

Timestamp of item creation.

Pkey: string
—

Unique identifier within the namespace.

Pnamespace: string[]
—

Hierarchical path defining the collection in which this document resides.

PupdatedAt: Date
—

Timestamp of last update.

Pvalue: Record<string, any>
—

The stored data as an object. Keys are filterable.

View source on GitHub