cache_similarity_distribution
Generate a histogram of recent similarity scores for a semantic cache, showing distribution across 20 buckets to analyze cache behavior.
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 |
|---|---|---|---|
| cache_name | Yes | Cache name as registered in __betterdb:caches (e.g. 'betterdb_scache_prod'). | |
| category | No | Restrict to a single category | |
| window_hours | No | Lookback window (default 24h, max 168h) | |
| instanceId | No | Connection ID; defaults to the active instance |