diff_diff_similar
Find the most similar strings to a query from a list of candidates for fuzzy matching and near-duplicate detection.
Instructions
[diff] Find the most similar strings to a query from a list of candidates. Returns [{text, score}, ...] sorted by similarity, highest first. Useful for fuzzy matching and near-duplicate detection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| candidates | Yes | ||
| top_n | No | ||
| threshold | No |