query_associative_memory
Search stored code patterns by code snippet to retrieve similar examples and identify known bugs or antipatterns from prior execution outcomes.
Instructions
Searches stored code patterns using Fly-LSH sparse binary Hamming similarity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Number of nearest neighbors to return. | |
| compact | No | Whether to return compact match objects to reduce prompt token footprint. | |
| query_code | Yes | The code query to search against associative memory (accepts 'query_code', 'query', or 'code'). |