Llama 3 with Vercel AI

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

Supabase

Supabase

Күн бұрын

Use Llama 3 with Ollama to stream chat completions from Supabase Edge Functions using the Vercel AI SDK in Next.js.
* Blogpost: supabase.link/ai-blog-yt
* Docs: supabase.link/ef-ai-llm
* Find the code: git.new/vercel-ai-llama3
* Request access: supabase.link/ai-llm-early-ac...
Presented by Thor Schaeff (@thorwebdev go.thor.bio/x)
CHAPTERS:
00:00 Intro
00:32 Large Language Models
00:50 Vercel AI Chatbot demo
01:30 Large Language Models in Edge Functions
01:40 Install Ollama
02:16 Run Llama 3 locally with Ollama
03:30 Ollama serve
04:30 Initialise Supabase in Next.js app
05:00 Create a new Edge Function
06:00 Run llama3 prompt from Edge Function
07:47 Start Supabase locally
07:59 Run Edge Functions locally
08:20 Test Llama 3 model locally
08:47 Supabase Rap
09:48 Vercel AI useChat React Hook
10:27 OpenAI Chat Completion API route
12:59 Look at database in local Supabase Studio
13:51 Replicate OpenAI chat completion with Llama 3
18:25 Run the Vercel AI Chatbot demo locally
18:42 Vercel AI Chatbot with Llama3 demo
21:52 Request early access
💻 Videos to watch next:
▶ Why you should use Edge functions for AI: • Why you should use Edg...
▶ The missing pieces to your AI app (pgvector + RAG in prod): • The missing pieces to ...
▶ Build AI Apps FREE (& Start Earning Money): • Build AI Apps FREE - ...
👇 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: www.github.com/supabase
💬 Discord: www.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 #AI #Ollama #Llama3

Пікірлер: 11
@Supabase
@Supabase Ай бұрын
Thanks for tuning in \o/ Read the Launch Week Blogpost here: supabase.link/ai-blog-yt and then dive into the docs: supabase.link/ef-ai-llm 🚀
@developerpranav
@developerpranav Ай бұрын
first imma learn about semantic search!
@hey_james
@hey_james Ай бұрын
Amazing stuff. Any chance you can stop ending every sentence in a higher pitch? 😂
@mikejohneviota9293
@mikejohneviota9293 Ай бұрын
😂😂😂
@anggoran7398
@anggoran7398 Ай бұрын
idk but it happens unconsciously for several js devs...
@thorwebdev
@thorwebdev Ай бұрын
Sorry, not an AI model, your prompt didn't work, haha 😅
@didiercatz
@didiercatz Ай бұрын
So, say we deploy this to prod, wouldn't the models run very slowly? Given that Supabase doesn't have beefy GPUs or w/e
@twitchizle
@twitchizle Ай бұрын
thats not how it works
@didiercatz
@didiercatz Ай бұрын
@@twitchizle so how does it work? Genuinely asking
@Supabase
@Supabase Ай бұрын
You can either deploy your own production Ollama server, or you can submit the form to join our private alpha. Details in the docs: supabase.link/ef-ai-llm
@champechilufya1458
@champechilufya1458 11 күн бұрын
Whats the point of this ? What are you achieving or gaining from doing all this? Genuinely asking
Generate Images with JavaScript
13:22
Supabase
Рет қаралды 2,4 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 187 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 79 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 76 МЛН
How To Connect Llama3 to CrewAI [Groq + Ollama]
31:42
codewithbrandon
Рет қаралды 28 М.
malicious javascript injected into 100,000 websites
12:28
Low Level Learning
Рет қаралды 149 М.
Behind the Code of Midday AI
16:37
Supabase
Рет қаралды 3,2 М.
Claude 3.5 Deep Dive: This new AI destroys GPT
36:28
AI Search
Рет қаралды 204 М.
Ryan Dahl introduces JSR at DevWorld 2024
29:13
Deno
Рет қаралды 100 М.
FASTEST way to get started with Next.js and Supabase in 2024
5:31
8 TypeScript Tips To Expand Your Mind (and improve your code)
10:54
Are Multi-Column Indexes a good idea?
11:22
Supabase
Рет қаралды 2,1 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 5 МЛН
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,2 МЛН