Abstract
Abstract
batchExecute multiple operations in a single batch. This is more efficient than executing operations individually.
Array of operations to execute
Promise resolving to results matching the operations
Delete an item from the store.
Hierarchical path for the item
Unique identifier within the namespace
Retrieve a single item by its namespace and key.
Hierarchical path for the item
Unique identifier within the namespace
Promise resolving to the item or null if not found
List and filter namespaces in the store. Used to explore data organization and navigate the namespace hierarchy.
Optional
options: {Options for listing namespaces
Promise resolving to list of namespace paths
Store or update an item.
Hierarchical path for the item
Unique identifier within the namespace
Object containing the item's data
Optional
index: false | string[]Optional indexing configuration
Search for items within a namespace prefix. Supports both metadata filtering and vector similarity search.
Hierarchical path prefix to search within
Optional
options: {Search options for filtering and pagination
Promise resolving to list of matching items with relevance scores
Start the store. Override if initialization is needed.
Stop the store. Override if cleanup is needed.
Abstract base class for persistent key-value stores.
Stores enable persistence and memory that can be shared across threads, scoped to user IDs, assistant IDs, or other arbitrary namespaces.
Features: