search_chunks
Search stored chunk embeddings by semantic similarity. Uses centered scoring to reduce bias in large candidate sets.
Instructions
Search stored chunk embeddings by semantic similarity. Read-only: it does not index or write anything. By default, NOUZ uses mean-centered scoring on unscoped large candidate sets to reduce anisotropic cosine bias, while returning raw and centered scores for inspection. Run index_all with with_embeddings=true first to populate the SQLite chunk_embedding index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query to embed and match against chunk embeddings | |
| top_k | No | Maximum matches to return, 1-50. Default 8. | |
| path | No | Optional relative note path to search within one file | |
| score_mode | No | Scoring mode: auto uses centered scoring for unscoped large candidate sets, raw preserves legacy cosine, centered forces mean-centered cosine when possible. |