Semantic Vector Search
Finds relevant docs by meaning — even when the user uses completely different words.
Without search-vector
Searching "broken shipment refund" misses a doc titled "damaged freight credit policy".
With search-vector
Hybrid keyword + vector search catches both exact IDs and conceptual matches.
What It Does (In Plain English)
Search Vector uses embedding@1 (embedding-openai-compat) to match questions by semantic similarity and plugs seamlessly into retrieval@1’s hybrid RRF blending — always respecting tenant permission boundaries.
Real-World Example
- 1User asks: "Can we reimburse a client for delayed freight?"
- 2Search Vector matches the "Transit SLA Credit Policy" chunk by meaning and feeds it to Retrieval.
When Should You Turn It On?
Add alongside retrieval + search-keyword when you want hybrid semantic + exact search.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-retrieval@0.1.0"
- "@neusym/kit-search-vector@0.1.0"
bindingOverrides:
embedding:
driver: "@neusym/driver-embedding-openai-compat"Kits It Works With
Works with / relies on:
Technical Details & Configuration Options (3 settings)
| Package | @neusym/kit-search-vector |
|---|---|
| Provides Ports | None |
| Requires Ports | scopes@1search-index@1embedding@1 |
| Optional Ports | tools@1 |
| Publishes Events | None |
| Owned DB Collections | vector_embeddings |
Configuration Options (kitConfigs.search-vector)
| Setting | Type | Default | Description |
|---|---|---|---|
minSimilarity | number | 0.15 | Minimum cosine similarity threshold in [-1, 1] for returning a vector match. |
maxScanDocs | integer | 5000 | How many stored embeddings a query reads at a time. Every embedding of the tenant is scored, one page of this size after another. |
model | string | — | Optional embedding model id override forwarded to embedding@1. |