AI SDK 3.1 First Impressions

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

Ben Davis - Tech

Ben Davis - Tech

Күн бұрын

Vercel's AI SDK just got a massive update, so I wanted to talk about it.
real world example app: github.com/Davis-Media/weight...
timestamps
0:00 intro
1:05 SDK core
5:40 UI SDK
6:25 RSC SDK
9:10 New Docs
12:40 Real World Example

Пікірлер: 34
@aghileslounis
@aghileslounis 29 күн бұрын
Generative UI is the future! I swear Amazon will implement this very soon to help people buy stuff Thanks for sharing Ben, you're a real one
@jeremymunroe
@jeremymunroe 28 күн бұрын
Have you implemented this in any of your products?
@bartekcholewa7766
@bartekcholewa7766 14 күн бұрын
Very informative video, great job. Goo luck on your KZbin journey.
@o_oyash
@o_oyash 5 күн бұрын
yo dude this is massive! I’m going all in on this lol
@seans4290
@seans4290 14 күн бұрын
Sick job! New sub here, thanks and keep up the good work!
@Meetblakey
@Meetblakey 19 күн бұрын
Can it lookup data in the database as well, like RAG type approach?
@slamislife74
@slamislife74 19 күн бұрын
Blessed content! 🥰 Ive definitely lived the whole thing with managers and programmers having different expectations, even when the maangers are also programmers! I dont want to looj down on people, but I feel like it's a somewhat reasonable response after being laid off a bunch of times, and being mistreated by neurotypical managers with NT expectations as a neurodivergent developer It's painful because I'm always opne to and acting on feedback as much as possible, but it's nevwr quite enough
@justine_chang39
@justine_chang39 28 күн бұрын
heyo! I have a question, what happens if you ask the AI to do something that you didn't give it a function to do?
@bmdavis419
@bmdavis419 28 күн бұрын
It just calls the "text" function as a catch github.com/bmdavis419/weights-ai/blob/main/src/app/action.tsx
@xfldiazx
@xfldiazx 27 күн бұрын
So it uses gpt function calling to just generate structured output and use that to render a prebuilt component? Whats the big advantage of using this would you say? I was interested but im not sure if the upside is worth having to use typescript on the backend
@upbeatstable
@upbeatstable 27 күн бұрын
its for people that already use ts for the backend
@luka1790
@luka1790 27 күн бұрын
What kind of systems do you build that ts isnt sufficient?
@cybertechlk3618
@cybertechlk3618 13 күн бұрын
Have RAG functions in this AI SDK 3.1 ? when i ask question in AI Chat bot it can automalticaly understand what parts of database data want this and can it answer using it ?
@jeremymunroe
@jeremymunroe 29 күн бұрын
Hey this is really cool, i started using this as well and noticed that render API is deprecated and using the new APIs, the function role for the aiState does not seem to work well, could you kindly do a tutorial with the new API😊
@bmdavis419
@bmdavis419 28 күн бұрын
Yes! I will have a full breakdown in the future, for now here is an updated example with the new API: github.com/bmdavis419/weights-ai/blob/main/src/app/action.tsx
@jeremymunroe
@jeremymunroe 28 күн бұрын
@@bmdavis419 Thanks man! Much appreciated.
@JuanPabloBautista-bs8eb
@JuanPabloBautista-bs8eb 27 күн бұрын
Very interesting ideas at the end, we should talk!
@bmdavis419
@bmdavis419 26 күн бұрын
DMs on twitter open!
@aianish
@aianish 27 күн бұрын
What’s the app that you used to draw?
@bmdavis419
@bmdavis419 26 күн бұрын
Excalidraw \
@colonelchubbers
@colonelchubbers 14 күн бұрын
Ben, I'm working on a RAG app using AI Vercel SDK in Sveltekit. I know you prefer Next.js for this, but I think it works well in Sveltekit too. Quick Q: when the app uses a tool, I noticed that the ToolResponse is not automatically added to the message stream. Do you know what the best practices are for this?
@Restai
@Restai 11 күн бұрын
Svelte is missing Generative UI out of the box with this sdk :(
@bmdavis419
@bmdavis419 10 күн бұрын
Indeed, it is a lot more work to setup and use, but could be more powerful. Working on this now...
@mainamburu8036
@mainamburu8036 15 күн бұрын
interesting ..subscribed
@parthokr
@parthokr 16 күн бұрын
Hey Ben I see no Go video from you lately. That’s kinda bummer. Mind making some Go contents specifically on Design Patterns, Dependency Injection?
@SaifurRahmanAkash
@SaifurRahmanAkash 29 күн бұрын
need a full tutorial on these stuff. tnx anyway
@gadgetboyplaysmc
@gadgetboyplaysmc 28 күн бұрын
After learning this. I'll sleep on it.
@bmdavis419
@bmdavis419 28 күн бұрын
Fair enough lol
@racapella
@racapella 28 күн бұрын
ooo no you are falling for the AI ponzi
@bmdavis419
@bmdavis419 28 күн бұрын
As with any new tech I think a lot of this is grift/fluff, but a lot is real. There are real ways to use this tech and its insanely fun to build with
@racapella
@racapella 26 күн бұрын
@@bmdavis419 haha i know was just a joke obviously there is good in everything
@mlavinb
@mlavinb 15 күн бұрын
Great content! thanks for sharing
@Meetblakey
@Meetblakey 19 күн бұрын
Can it lookup data in the database as well, like RAG type approach?
Hands on with the Vercel AI SDK 3.1
13:04
Vercel
Рет қаралды 24 М.
Cool Tools I’ve Been Using Lately
23:11
Theo - t3․gg
Рет қаралды 154 М.
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 90 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 19 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 16 МЛН
Trying to attack the Vercel Firewall
13:09
Vercel
Рет қаралды 19 М.
You've been using AI Wrong
30:58
NetworkChuck
Рет қаралды 324 М.
I Was Wrong About React Router.
19:06
Theo - t3․gg
Рет қаралды 56 М.
Can SQLite be Used in Real Projects?
5:38
Ben Davis - Tech
Рет қаралды 4,1 М.
Fetching Data Doesn't Get Better Than This
6:58
Josh tried coding
Рет қаралды 72 М.
Ryan Dahl introduces JSR at DevWorld 2024
29:13
Deno
Рет қаралды 95 М.
Bringing React Components to AI
12:41
Vercel
Рет қаралды 34 М.
WWDC 2024 - June 10 | Apple
1:43:37
Apple
Рет қаралды 9 МЛН