From 26a2cb126332eb3ef12f0cb0913bbc9866bdfb8f Mon Sep 17 00:00:00 2001 From: Sheikh <50134239+cybardev@users.noreply.github.com> Date: Tue, 20 Jan 2026 18:31:13 -0400 Subject: [PATCH] docs(ai): update example code to use Transformers.js v3 (#39915) More info: https://github.com/huggingface/transformers.js/issues/1291 Co-authored-by: Chris Chinchilla --- apps/docs/content/guides/ai/vector-columns.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/ai/vector-columns.mdx b/apps/docs/content/guides/ai/vector-columns.mdx index 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 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 '@xenova/transformers' +import { pipeline } from '@huggingface/transformers' const generateEmbedding = await pipeline('feature-extraction', 'Supabase/gte-small') const title = 'First post!'