The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix headings
Copple49fdf04bbb5d
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 70f1a3cb56f..4266194b3a8 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -886,11 +886,11 @@ export const ai: NavMenuConstant = {url: '/guides/ai/examples/headless-vector-search',},{- name: 'Hugging Face inference with Edge Functions',+ name: 'Generate image captions using Hugging Face',url: '/guides/ai/examples/huggingface-image-captioning',},{- name: 'OpenAI completions with Edge Functions',+ name: 'Streaming OpenAI completions using Edge Functions',url: '/guides/ai/examples/openai',},{diff --git a/apps/docs/pages/guides/ai/examples/huggingface-image-captioning.mdx b/apps/docs/pages/guides/ai/examples/huggingface-image-captioning.mdxindex a6842ba04a8..1f891655d85 100644--- a/apps/docs/pages/guides/ai/examples/huggingface-image-captioning.mdx+++ b/apps/docs/pages/guides/ai/examples/huggingface-image-captioning.mdx@@ -1,19 +1,23 @@import Layout from '~/layouts/DefaultGuideLayout'export const meta = {- title: 'Hugging Face',+ title: 'Generate image captions using Hugging Face',description:'Use the Hugging Face Inference API to make calls to 100,000+ Machine Learning models from Supabase Edge Functions.',+ subtitle:+ 'Use the Hugging Face Inference API to make calls to 100,000+ Machine Learning models from Supabase Edge Functions.',video: 'https://www.youtube.com/v/OgnYxRkxEUw',tocVideo: 'OgnYxRkxEUw',}+We can combine Hugging Face with [Supabase Storage](https://supabase.com/storage) and [Database Webhooks](https://supabase.com/docs/guides/database/webhooks) to automatically caption for any image we upload to a storage bucket.++## About Hugging Face+[Hugging Face](https://huggingface.co/) is the collaboration platform for the machine learning community.[Huggingface.js](https://huggingface.co/docs/huggingface.js/index) provides a convenient way to make calls to 100,000+ Machine Learning models, making it easy to incorporate AI functionality into your [Supabase Edge Functions](https://supabase.com/edge-functions).-Putting this together with [Supabase Storage](https://supabase.com/storage) and [Database Webhooks](https://supabase.com/docs/guides/database/webhooks) we can easily put together a service that automatically generates captions for any image we upload to a storage bucket.-## Setup- Open your Supabase project dashboard or [create a new project](https://app.supabase.com/projects).diff --git a/apps/docs/pages/guides/ai/examples/openai.mdx b/apps/docs/pages/guides/ai/examples/openai.mdxindex 3d2c3f3f2aa..7094a8fc936 100644--- a/apps/docs/pages/guides/ai/examples/openai.mdx+++ b/apps/docs/pages/guides/ai/examples/openai.mdx@@ -3,7 +3,8 @@ import Layout from '~/layouts/DefaultGuideLayout'export const meta = {id: 'examples-openai',title: 'Generating OpenAI GPT3 completions',- description: 'Generate GPT text completions using OpenAI in Edge Functions.',+ description: 'Generate GPT text completions using OpenAI and Supabase Edge Functions.',+ subtitle: 'Generate GPT text completions using OpenAI and Supabase Edge Functions.',video: 'https://www.youtube.com/v/29p8kIqyU_Y',tocVideo: '29p8kIqyU_Y',}