Find similar items
get_similar_itemsThe items nearest to a given one in meaning, by cosine similarity over the stored embeddings. Answers 'what else is like this' without a keyword — it finds pieces on the same event or theme that share no vocabulary. A neighbour above ~0.85 is usually the same story reprinted or lightly rewritten, which is how to spot syndication in this corpus; 0.6-0.8 is 'same subject, different piece'. Needs no API key: the item's own vector is a column, so nothing has to be embedded at request time. This is per-item, NOT the corpus-wide near-duplicate sweep — that is an all-pairs job and belongs offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id — either a bare o:id ('3064') or the namespaced form search returns ('articles:3064') | |
| limit | No | Neighbours returned (default 12, max 50) | |
| subset | No | articles (default) | publications | references | |
| min_score | No | Drop neighbours below this cosine similarity (0-1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| view | Yes | ||
| source | Yes | ||
| subset | Yes | ||
| neighbours | Yes |