query_associative_memory
Searches stored code patterns by Hamming similarity to find similar code matches for a query, helping identify bugs, antipatterns, or reusable snippets from associative memory.
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. | |
| query_code | Yes | The code query to search against associative memory. |