У нас вы можете посмотреть бесплатно Stop Building Boring Chatbots: Add Generative UI with Vercel AI SDK! или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
🚀 Go beyond text! In this technical deep dive, explore how the Vercel AI SDK enables truly Generative UI in a Next.js 15 chat application. Watch as the AI doesn't just answer questions but dynamically renders custom React components like weather cards and interactive stock charts (using Recharts) directly within the conversation. We'll cover: Setting up Tools (`displayWeather`, `displayStockPrice`) with the Vercel AI SDK's `streamText`. Handling optional parameters and fetching external data (like Yahoo Finance for stocks). Using the `@ai-sdk/react` `useChat` hook and the modern `message.parts` API to process tool invocations. Conditionally rendering React components based on tool results (`part.type === 'tool-invocation'`). Integrating Tailwind CSS, Recharts, and `next-themes` for a polished UI. 🛠️ Tech Stack: Next.js, React, Vercel AI SDK, Tailwind CSS, Recharts, Zod, yahoo-finance2 (via fetch), next-themes. 🔗 Code Repository: https://github.com/Phat0101/generativ... 🔗 Vercel AI SDK Docs: https://sdk.vercel.ai/docs/ai-sdk-ui/... #VercelAISDK #GenerativeUI #NextJS #React #AIChatbot #AI #WebDevelopment #ToolCalling