CapabilityAwareStorage

Mixin interface for storage implementations that can report their supported capabilities.

Storage backends implement this interface to advertise which search and filtering features they support (e.g., similarity search, keyword search, hybrid search, metadata filtering). Consumers can query capabilities at runtime to adapt their search strategy accordingly.

See also

for the list of available capabilities

Properties

Link copied to clipboard

The set of capabilities supported by this storage implementation.

Functions

Link copied to clipboard
open fun supports(capability: StorageCapability): Boolean

Checks whether this storage supports the given capability.