Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: fix import for @xenova/transformers

Greg Richardson1c25b0e9f34a
diff --git a/apps/docs/pages/guides/ai/vector-columns.mdx b/apps/docs/pages/guides/ai/vector-columns.mdx
index 4620314cc05..b263cb9b619 100644
--- a/apps/docs/pages/guides/ai/vector-columns.mdx
+++ b/apps/docs/pages/guides/ai/vector-columns.mdx
@@ -73,7 +73,7 @@ In general, embeddings with fewer dimensions perform best. See our [analysis on
In 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 'transformers'
+import { pipeline } from '@xenova/transformers'
const generateEmbedding = await pipeline('feature-extraction', 'Supabase/gte-small')
const title = 'First post!'
diff --git a/apps/docs/pages/guides/database/extensions/pgvector.mdx b/apps/docs/pages/guides/database/extensions/pgvector.mdx
index 5d408e10e03..534bbe63f99 100644
--- a/apps/docs/pages/guides/database/extensions/pgvector.mdx
+++ b/apps/docs/pages/guides/database/extensions/pgvector.mdx
@@ -75,7 +75,7 @@ create table posts (
In this example we'll generate a vector using Transformer.js, then store it in the database using the Supabase client.
```js
-import { pipeline } from 'transformers'
+import { pipeline } from '@xenova/transformers'
const generateEmbedding = await pipeline('feature-extraction', 'Supabase/gte-small')
const title = 'First post!'