Build and Deploy a GPT-4 Chatbot in Next.js 13 With Streaming (Vercel AI SDK)

preview_player
Показать описание


0:00 Project Introduction
4:12 Creating initial chat interface
6:00 Creating client side ChatComponent
12:55 Create server side API route for GPT-4 response
28:50 Deploy GPT-4 Project to Vercel (Environment Keys)
Рекомендации по теме
Комментарии
Автор

Honestly, I am very grateful to have your channel. Watch your content accurately and love your explanation as well. Thank you so much.

anonymouseverx
Автор

This tutorial is FANTASTIC !! It was so concise and well delivered - Thanks so much for sharing! 😄

mattbarty
Автор

This is awesome. I'm turning on the notification button for your future stuff

GregPeters
Автор

Awesome. I searched for a video like this, and found the perfect one.
I even liked the tone, and how you laugh sometimes, sounds like a friend explaining you something.
As an idea, you could show how to add some kind of login, to actually protect your key.
I saw that vercel-labs have a repo ai-chatbot that has auth.

fmaylinch
Автор

hi @CooperCodes, great tutorial! I was wondering if it would work without edge runtime as well. I'm looking to introduce a chat component on an Azure App Service deployed next.js app, which should not support that kind of runtime...

strongmmc
Автор

Do you plan to make a Next video with Openai using Supabase, where you can pass the context and use that to respond? Greetings and thanks for the videos

Deus-lo-Vuilt
Автор

What if we want to do everything on our own, Not using vercel ai and useChat hook. Please show us that as well what is going on behind the scenes?

amandeepkochhar
Автор

first I really want to thank you for this one, will this method can work with Anthropic API (Claude-2) instead of GPT-4, I am new to coding and when trying to modify the route.ts it breaks. Thanks :)

ramianaf
Автор

i deployed an openai chat app into an Ubuntu server but as soon I make it https the stream stops working, any clue why is It happening

noooOne