/sveltekit-pgvector-supabase

A demo of using vectors, sveltekit, and supabase together in a (semi) useful example

Primary LanguageTypeScript

vectors, sveltekit, supabase, and the ai sdk

what is this?

This is a demo of a simple app which uses the AI SDK, Supabase, and SvelteKit to make a search feature.

This app shows off the different ways to index and search vectors and how to create/query them.

prerequisites

how to run

  1. fill in the .env file with your creds (see .env.example)
  2. install packages with bun install
  3. run supabase start
  4. run bun run dev

important docs for reference