The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(sql-editor): design ai prompt to handle embeddings
Greg Richardson522898d7579b
diff --git a/studio/pages/api/ai/sql.ts b/studio/pages/api/ai/sql.tsindex c36b5013119..9d2b371469b 100644--- a/studio/pages/api/ai/sql.ts+++ b/studio/pages/api/ai/sql.ts@@ -21,6 +21,7 @@ const generateSqlSchema = SchemaBuilder.emptySchema()- For primary keys, always use "id bigint primary key generated always as identity"- Prefer creating foreign key references in the create statement- Prefer text over varchar+ - Use vector(384) data type for any embedding/vector related query`,}).addString('title', {