Loading video...

Video Failed to Load

Go Home

Learn how to build GPT-3 AI apps with OpenAI and @Vercel edge functions. In this video, I explain how I built and how you can build your own GPT-3 powered apps:

222,270 views • 3 years ago •via X (Twitter)

9 Comments

Hassan's profile picture
Hassan3 years ago

I'm excited for this video because it presents a solution to an interesting serverless timeout issue for folks on Vercel's hobby tier. In the video, I explain edge functions from scratch and run a benchmark to compare them to serverless functions both in terms of speed and UX.

Hassan's profile picture
Hassan3 years ago

If you'd like to watch with timestamps and in 4K, feel free to check this same video out on YouTube!

Steven Tey's profile picture
Steven Tey3 years ago

@OpenAI @vercel 🤯🤯🤯 wow streaming is a gamechanger, thanks for sharing Hassan! Gonna try this out in my future AI projects 😄

Hassan's profile picture
Hassan3 years ago

@OpenAI @vercel My pleasure dude! Can't wait to try out your replicate webhook solution too 🫡

Michael's profile picture
Michael3 years ago

@OpenAI @vercel The streaming API is a very powerful tool, thanks for showing it off! However, I would not generate the prompt on the client as this can lead to people exploiting your API with unwanted prompts.

Hassan's profile picture
Hassan3 years ago

@OpenAI @vercel My pleasure! That's a good point – I'll probably add a check on the server to make sure it only accepts the prompt that I defined on the client.

Daniel Bourke's profile picture
Daniel Bourke3 years ago

@OpenAI @vercel Wow that difference between streaming/not was night and day! Epic video explainer!

Hassan's profile picture
Hassan3 years ago

@OpenAI @vercel Thanks so much Daniel – means a lot coming from you!

Thor 雷神 ⚡️'s profile picture
Thor 雷神 ⚡️3 years ago

@OpenAI @vercel You say that one can't use @prisma in Edge Functions, but you might want to clarify that Vercel Edge Functions on supports the HTTP protocol in Edge Functions and therefore for Prisma you'd need to use their Data Proxy:

Related Videos