AI SDK 3.1 First Impressions
Ғылым және технология
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
Пікірлер: 33
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
18 күн бұрын
Have you implemented this in any of your products?
Sick job! New sub here, thanks and keep up the good work!
Can it lookup data in the database as well, like RAG type approach?
Very informative video, great job. Goo luck on your KZread journey.
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 ?
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
18 күн бұрын
It just calls the "text" function as a catch github.com/bmdavis419/weights-ai/blob/main/src/app/action.tsx
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
17 күн бұрын
its for people that already use ts for the backend
@luka1790
17 күн бұрын
What kind of systems do you build that ts isnt sufficient?
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?
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
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?
Svelte is missing Generative UI out of the box with this sdk :(
@bmdavis419
2 сағат бұрын
Indeed, it is a lot more work to setup and use, but could be more powerful. Working on this now...
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
18 күн бұрын
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
18 күн бұрын
@@bmdavis419 Thanks man! Much appreciated.
What’s the app that you used to draw?
@bmdavis419
16 күн бұрын
Excalidraw \
Very interesting ideas at the end, we should talk!
@bmdavis419
16 күн бұрын
DMs on twitter open!
interesting ..subscribed
need a full tutorial on these stuff. tnx anyway
After learning this. I'll sleep on it.
@bmdavis419
18 күн бұрын
Fair enough lol
ooo no you are falling for the AI ponzi
@bmdavis419
18 күн бұрын
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
15 күн бұрын
@@bmdavis419 haha i know was just a joke obviously there is good in everything
Great content! thanks for sharing
Can it lookup data in the database as well, like RAG type approach?