cache_similarity_distribution
Generate a histogram of recent similarity scores for a semantic cache to monitor distribution and detect shifts in query similarity.
Instructions
Histogram of recent similarity scores (20 buckets, width 0.1) for a semantic_cache. Errors on agent_cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Restrict to a single category | |
| cache_name | Yes | Cache name as registered in __betterdb:caches (e.g. 'betterdb_scache_prod'). | |
| instanceId | No | Connection ID; defaults to the active instance | |
| window_hours | No | Lookback window (default 24h, max 168h) |