Why you should use Edge Functions for AI

Published: 16 April 2024
on channel: Supabase
5,907
204

Edge Functions are perfect for encapsulating AI logic, but downloading these massive models on every invocation leads to significant load times, and a very large bill! In this video, Jon Meyers explains the benefits of Supabase attaching these models on disk.

✍️ AI Inference now available in Supabase Edge Functions: https://supabase.com/blog/ai-inferenc...

00:00 Don't Download AI Models in Edge Functions
00:24 Overview of AI Inference example
00:48 Create a vector embedding
02:08 Performing similarity search in Edge Function
03:06 Sending a HTTP request to search embeddings
03:41 This entire system running on LocalHost

🤖 AI Inference in Supabase Edge Functions example: https://github.com/supabase/supabase/...

💻 Videos to watch next:
▶ Supabase is now GA:    • Supabase is now GA  
▶ The missing pieces to your AI app (pgvector + RAG in prod):    • The missing pieces to your AI app (pg...  
▶ Fastest way to build a SaaS in 2024 - Next.js, Supabase and Stripe:    • Fastest way to build a SaaS in 2024 -...  

👇 Learn more about Supabase 👇

🕸 Website: https://supabase.com/
🏁 Get started: https://app.supabase.com/
📄 Docs: https://supabase.com/docs

🔔 Subscribe for more tutorials and feature updates from Supabase:    / @supabase  

📱 Connect with Us:
🐙 Github: https://github.com/supabase
💬 Discord: https://discord.supabase.com/
🐦 Twitter:   / supabase  
📸 Instagram (follow for memes):   / supabasecom  


ABOUT SUPABASE:
Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.

Build in a weekend, scale to millions.

#Supabase #AppDevelopment #RealtimeApps #DeveloperTools


Watch video Why you should use Edge Functions for AI online without registration, duration hours minute second in high quality. This video was added by user Supabase 16 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,907 once and liked it 204 people.