Why you should use Edge Functions for AI

  Рет қаралды 4,880

Supabase

Supabase

Күн бұрын

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: 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: 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 ...
▶ Fastest way to build a SaaS in 2024 - Next.js, Supabase and Stripe: • Fastest way to build a...
👇 Learn more about Supabase 👇
🕸 Website: supabase.com/
🏁 Get started: app.supabase.com/
📄 Docs: supabase.com/docs
🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
📱 Connect with Us:
🐙 Github: github.com/supabase
💬 Discord: 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

Пікірлер: 24
@Supabase
@Supabase 2 ай бұрын
If you wanna go deeper, check out the blog 👇 AI Inference now available in Supabase Edge Functions: supabase.com/blog/ai-inferenc...
@R0cky0
@R0cky0 2 ай бұрын
This is bigger than the big announcement. Hat off!
@JonMeyers
@JonMeyers 2 ай бұрын
A grown up GA company deserves a grown up DevRel 😆
@wilsonwong753
@wilsonwong753 2 ай бұрын
The hair! Nice 👍
@JonMeyers
@JonMeyers 2 ай бұрын
Thanks! Not sure if I am going to keep it post GA week - we'll see!
@ai_koshey_bot
@ai_koshey_bot Ай бұрын
url argument is missing. Am I the only one who couldn't get it to work? It is not clear how the trigger was created.
@_taishi
@_taishi 2 ай бұрын
dang jon your video is so good
@zik2000
@zik2000 6 күн бұрын
does this work for bigger text fields? or just single word term? for example: say i have a 'description' column for movies. Will I be able to create a vector for that column so that when a user looks for example "life in simulation" it will probably return 'The Matrix' based of the description ?
@MrMatDoe
@MrMatDoe 22 күн бұрын
Hi there, I would really love for you guys to create a tutorial on how to delete a user using edge functions (having access to all the admin privileges, services role keys and stuff)
@greendsnow
@greendsnow 2 ай бұрын
Great, how does it scale?
@lasifuta1573
@lasifuta1573 2 ай бұрын
Please correct me if I am wrong, but at 1:10 I assume it should be Webhooks instead of Trigger as an edge function is needed?
@JonMeyers
@JonMeyers 2 ай бұрын
It is both! Prob should have mentioned this in the video, but it is a Trigger than invokes a Webhook! 👍
@yourpc
@yourpc Ай бұрын
how to fix "permission denied for schema public" in edge supabase?
@kush.mikashita
@kush.mikashita 2 ай бұрын
Do Embeddings work for other languages too? Like French for example.
@Typnickman-
@Typnickman- 2 ай бұрын
In general yeah. Not sure about quality
@Typnickman-
@Typnickman- 2 ай бұрын
Hi guys, i've updated supabase-js on deno to 2.42.2 but it still says "ReferenceError: Supabase is not defined"
@JonMeyers
@JonMeyers 2 ай бұрын
Also try upgrading the Supabase CLI and creating a new function 👍
@rahikumarbhagat7563
@rahikumarbhagat7563 2 ай бұрын
you have to update supabase cli.
@Typnickman-
@Typnickman- 2 ай бұрын
@@rahikumarbhagat7563 i'm using npx supabase@latest
@mikejohneviota9293
@mikejohneviota9293 2 ай бұрын
holysht 🎉🎉
@JonMeyers
@JonMeyers 2 ай бұрын
I know, right?
@dshukertjr
@dshukertjr 2 ай бұрын
A controvertial way of pronouncing tomato 🍅
@JonMeyers
@JonMeyers 2 ай бұрын
Oh no! That's not even the bit that was meant to be controversial! 😆
File-based Postgres Analytics with DuckDB and AWS S3
16:18
Supabase
Рет қаралды 3,2 М.
3 reasons you should use Postgres Functions and Transactions
16:58
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 115 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 140 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 14 МЛН
8 things you should NEVER do in a Database!
22:56
Supabase
Рет қаралды 9 М.
Have You Picked the Wrong AI Agent Framework?
13:10
Matt Williams
Рет қаралды 45 М.
Is "edge" computing really faster?
8:14
Fireship
Рет қаралды 567 М.
Supabase just shipped a LOT of cool stuff...
15:31
Davis Media
Рет қаралды 3,4 М.
Are Multi-Column Indexes a good idea?
11:22
Supabase
Рет қаралды 2,1 М.
Why Does Scrum Make Programmers HATE Coding?
16:14
Thriving Technologist
Рет қаралды 496 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 152 М.
I DONT USE NEXT JS
54:01
ThePrimeTime
Рет қаралды 324 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 413 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 53 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 9 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 27 МЛН