I built a *streaming* AI chat app

preview_player
Показать описание
Learn how to use the new Vercel AI SDK to quickly build streaming AI chat apps with APIs like OpenAI, Anthropic, HuggingFace, LangChain, and more.

Use promo code FKIT to save 35%

Рекомендации по теме
Комментарии
Автор

It's incredible how many hats he is able to wear at the same time. I mean making high quality super dense tech videos, making top notch Courses, keeping track of all happenings and also creating such incredible side projects. Please do make a video about ur time management...I'm sure it's gonna worth ton to lot of people...!!

yashkhd
Автор

0:01 train is from my country. Love from Bangladesh

mohaimanulislammahin
Автор

just started working with sveltekit, so nice <3

JoshuaGenders
Автор

Man I am excited for the SvelteKit course! Jeff for President!

SirDamatoIII
Автор

Fantastic work man. Can't wait for the Vercel course to be out on Fireship pro

AdrianMark
Автор

in the time he programs, edits, and uploads the video, I made the basic chat app. lmao

carlosfortega
Автор

Dear Jeff and any of you super coders out there, How would this work at scale? If deployed, how many simultaneous users could stream data given the standard paid api? And what might the code look like to deal with hitting that limit?

abeechr
Автор

Vercel jumped on it because it takes 5+ seconds to complete a stream, during which they charge you for each 50 ms of edge function your using.
So 100 edge units for each answer. USD 2 for 1 million units.

greendsnow
Автор

The "fkit" course 😭😭💀you're too good man!!

muhammad.mohsen
Автор

For anyone trying to follow along at home for your own app, in case you get a 400 code (malformed response) and no other info the possible causes can be:
- Invalid or maxed out API key
- Bad prompt with illegal characters or too long
- in my case I passed in const messages to the request instead of const {messages} (oops!)

TheSteelcry
Автор

did you know that you can do it without Vercel AI SDK using OpenAI SSE (Server-Sent Events) Streaming API? it's not much more complicated

other_perfection
Автор

Frick all this... We need a video on how you keep yourself updated with all this and manage your time.

salmanbehen
Автор

Newbie question from someone with no backend knowledge: What would I need to look up for if I would want to make a AI chatbot such as that in React? Any tips for starters?

ScytherDOTA
Автор

Im not gonna say first that would be cliche, me being early means nothing, so Ill just say fireship if you see this you should make a video on hugging face transformers

jorgesaxon
Автор

What is the benefit of using this over just using the ChatGPT API? Is the only benefit that its streaming so typing the result instead of waiting for the whole result before showing it?

Jip
Автор

This isn’t possible with Firebase cloud functions is it? (The streaming part)

ChadThieleChaddeus
Автор

What if I want to run my own modem and have it train locally?

YHK_YT
Автор

I watch almost every other tutorial video on 1.25-1.75x speed, Fireship 0.5x

SmithHayward
Автор

Thanks I have the app built now, I just need an API KEY 😵

daleryanaldover
Автор

When I use this code, the roles are rendered as "undefined". What am I doing wrong?

Actionme
welcome to shbcf.ru