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:
class BaseStoreExecute multiple operations in a single batch. This is more efficient than executing operations individually.
Delete an item from the store.
Return the current value of the channel.
List and filter namespaces in the store. Used to explore data organization and navigate the namespace hierarchy.
Store or update an item.
Search for items within a namespace prefix. Supports both metadata filtering and vector similarity search.
Start the store. Override if initialization is needed.
Stop the store. Override if cleanup is needed.