Hacker News new | ask | show | jobs
by mihaich 800 days ago
I wasn't expecting it, but I actually got some votes <3, so here is a better description:

This is a React component for searching/sorting by meaning (not by "characters included in a string", like standard search).

It uses a small ML model that runs on client side (inside the component!). When I say small, I mean ~20MB. The model will be downloaded only once (first time) and afterwards imported from browser's cache.

You can use this component to search and filter by meaning a dropdown list or an external list (like paragraphs of a webpage). You can search with sentences on sentences, not just with small words/substrings.

Here is a demo: https://mihaiii.github.io/semantic-autocomplete/

I believe this is super useful in the real world! :)

Let me know if you have any questions or feedback!

Thank you!