正在加载视频...
视频加载失败
New: Google Gemini + Vercel AI SDK chatbot template ✨ Book a flight, select your seat, check out, and more — all with server-driven, interactive Generative UI components. Open-source and hackable!
115,835 次观看 • 2 年前 •via X (Twitter)
10 条评论

It was kinda hard to implement streaming with gemini - was looking forward to your approach, but looks like this app doesn't have streaming? here's how I did it, not the most graceful solution:

@leeerob Thanks for your payment details. See in you Rome!

@leeerob Great work! I'm looking forward to digging into the codebase. BTW, it did crash for me -- maybe high demand?

Looks like we hit the per minute quota, will add a better error state here + up the limit!

@leeerob Very cool! Congrats for shipping this. I am guessing these Generative UI modules need proprietary connections to APIs to enable this? Example, United API and Google Pay API? Would love to see supported products for this to enable.

You can connect to any API you want – it's all just JavaScript and React code!

@leeerob Been playing with the template before this. Superb. Time to try this 🙂 we are all in on generative ui totally see it as the future for more personalised/tailored ui experience for users.

@leeerob Very cool stuff. Great demo Lee!

@leeerob Awesome. Will be using this soon

Limitless use cases for this; Generative UI will be the de facto standard in the future of web app development. Perfect example, thanks Vercel team!

