HyperspaceDB icon

HyperspaceDB

Interact with the HyperspaceDB gRPC API

Collection → Cache Config

AI-generated

Summary

Update the L0 Cache configuration for a specified collection in HyperspaceDB by setting the cache eviction policy and the ANN similarity distance threshold for cache lookup filtering.

Inputs

  • Collection Name (required) — The name of the collection to configure the cache for.
  • Cache Eviction Policy (required) — The cache eviction policy to use, choosing between Least Recently Used (LRU), Least Frequently Used (LFU), or Time To Live (TTL).
  • ANN Threshold — Approximate Nearest Neighbor similarity distance threshold used for cache lookup filtering; defaults to 0.8 if not specified.

Output shape

a single record

Returns a JSON object with a 'success' boolean indicating whether the cache configuration update succeeded.

Links

Discussion