# Supabase — In-Browser Semantic AI Search with PGlite and Transformers.js

- Company: Supabase (supabase.com)
- Announced: 2024-08-29
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://supabase.com/blog/in-browser-semantic-search-pglite
- Record: https://forck.live/items/21400-in-browser-semantic-ai-search-with-pglite-and-transformers-js
- Subject: Supabase

Supabase published a guide demonstrating how to build a fully local, in-browser semantic search experience using PGlite to store text and embeddings in IndexedDB, pgvector for inner product search, and Huggingface's Transformers.js with Supabase/gte-small to generate embeddings. The post includes code examples and a video demo.

## Evidence

Verbatim from https://supabase.com/blog/in-browser-semantic-search-pglite:

> This gave me the idea to try and build a fully local, in-browser semantic search experience, utilising PGlite to store text and embeddings locally in IndexedDB, pgvector to perform inner product search, and Huggingface's Transformers.js with Supabase/gte-small to generate embeddings.

---

Record: https://forck.live/items/21400-in-browser-semantic-ai-search-with-pglite-and-transformers-js
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
