In-Browser Semantic AI Search with PGlite and Transformers.js
The post introduces a method for building an in-browser semantic search experience using PGlite, pgvector, and Transformers.js. This setup could benefit eCommerce sites by quickly surfacing relevant products without server roundtrips. It includes instructions for setting up the database schema and code examples for a React application, enabling local storage and retrieval of text and embeddings using IndexedDB.
