The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs(ai): update example code to use Transformers.js v3 (#39915)
Sheikh26a2cb126332
diff --git a/apps/docs/content/guides/ai/vector-columns.mdx b/apps/docs/content/guides/ai/vector-columns.mdxindex 86d122c5a21..340b09656e7 100644--- a/apps/docs/content/guides/ai/vector-columns.mdx+++ b/apps/docs/content/guides/ai/vector-columns.mdx@@ -72,7 +72,7 @@ In general, embeddings with fewer dimensions perform best. See our [analysis onIn this example we'll generate a vector using Transformers.js, then store it in the database using the Supabase JavaScript client.```js-import { pipeline } from '@xenova/transformers'+import { pipeline } from '@huggingface/transformers'const generateEmbedding = await pipeline('feature-extraction', 'Supabase/gte-small')const title = 'First post!'