crossmem_recall
Search the crossmem wiki for entries matching a query. Returns matching excerpts ranked by relevance.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | — | Search query string |
limit | integer | no | 5 | Max results to return (capped at 20) |
Returns
A ranked list of matching wiki entries, each with:
- Index number
- Cite key and title
- Section where the match was found
- Excerpt (up to 400 characters) with surrounding context
- Deep link to the wiki file
Example response
1. [vaswani2017attention] Attention Is All You Need
section: p.4 §3.2 Scaled Dot-Product Attention
excerpt: ...We call our particular attention "Scaled Dot-Product Attention". The input consists of queries and keys of dimension dk...
link: file:///Users/you/crossmem/wiki/1776227300_vaswani2017attention.md
2. [lecun2015deep] Deep Learning
section: p.12 §4 Attention Mechanisms
excerpt: ...Attention mechanisms have become an integral part of sequence modeling...
link: file:///Users/you/crossmem/wiki/1776300000_lecun2015deep.md
No results
No results for query: 'quantum computing'
Scoring
Results are ranked by total token frequency: each whitespace-delimited query token is counted across the entry’s title and body. Higher count = higher rank.