SmartComboBoxAdapter
Replaces literal prefix matching with semantic auto-complete, so a ComboBox finds the item the user means.
Attaches to ComboBox
Standard auto-complete matches characters. The adapter matches meaning: type "two-wheeler" and a list of vehicle types can surface "motorcycle". It compares the typed text against the list semantically rather than letter by letter.
That makes long, fixed pick-lists far easier to navigate, especially when users describe what they want in their own words.
Under the hood the adapter embeds the typed text and the list entries and ranks them by similarity, so matching quality improves with the embedding model you choose — and it works in any language the model understands.
What it gives you
- Semantic ranking layered onto the native auto-complete.
- Tolerant of synonyms and paraphrases.
- Works with the existing ComboBox item list — no data changes required.
Use it for
- Long product, category or account pick-lists
- Specialist vocabularies searched with everyday words
- Search-like selection without restructuring your data
Like every adapter, it runs through a SmartHub and inherits its SmartEndpoint — switching the model or provider never changes this code.
var hub = new SmartHub(this) { Endpoint = endpoint };
var smartCombo = new SmartComboBoxAdapter {
ComboBox = vehicleTypeCombo
};
// "two-wheeler" now matches "Motorcycle" in the list.