semantic_search
Retrieve text passages by meaning to find paraphrases and cross-lingual matches that keyword searches miss. Returns top fragments with file paths and page numbers for verification.
Instructions
Semantic recall: retrieve text-layer passages by meaning, catching what keyword grep misses (paraphrase and cross-lingual matches).
Returns top-k fragments, each with file (relative path), page_start/page_end (for going back to the source PDF), score (cosine; higher = closer), and text (the fragment itself). ⚠ Recall layer only: verbatim quotes, page numbers, and emphasis must be verified against the source PDF. Never cite these fragments directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |