The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(embeddings): add log when removing old pages
Greg Richardson19584f8647e1
diff --git a/apps/docs/scripts/search/generate-embeddings.ts b/apps/docs/scripts/search/generate-embeddings.tsindex 49ad9028558..e19349313a5 100644--- a/apps/docs/scripts/search/generate-embeddings.ts+++ b/apps/docs/scripts/search/generate-embeddings.ts@@ -242,6 +242,8 @@ async function generateEmbeddings() {}}+ console.log(`Removing old pages and their sections`)+// Delete pages that have been removed (and their sections via cascade)const { error: deletePageError } = await supabaseClient.from('page')