mckaywrigley/paul-graham-gpt

'relation "public.paulg" does not exist'

abali96 opened this issue · 2 comments

Running npm run embed results in relation "public.paulg" does not exist. I believe line 31 of embed.ts needs to reference "pg" instead of "paulg".

.from("paulg")

Just fixed it - thanks!

Sorry one more — seems like "paulg_search" should be replaced with "pg_search"

const { data: chunks, error } = await supabaseAdmin.rpc("paulg_search", {