Show HN: CatBench Vector Search Playground on Postgres
tanelpoder.com
tanelpoder.com
So that's just another way to demo what the higher-level "AI" similarity search means, but visually much more striking to people who are not that technical or are just getting started with this "AI" stuff.
Importantly, the web app also displays the SQL statements and execution plans (with performance metrics) that were executed in Postgres for generating the webpage. This makes some experimentation faster & easier as you could tweak the SQL or some parameter - create a different (vector) index - and just hit refresh in your browser to see the new results and the new execution plan with performance metrics.
My second goal was to blend together data from traditional tables (order history) and the newly generated embedding vectors, so I combined both worlds into a basic recommendation engine example. I first find top 20 most similar-looking cats compared to the selected one and then list the top purchased products by the 20 most similar-looking cats, all done within a single SQL query.