~/talk

React Server Components in AI Applications

Talkat React Advanced 2024 · 2024-10-25..10-29· [react, ai-assisted-development]
slides:none on file

Builds a Next.js movie demo called movies Plus+ that uses React Server Components to have an LLM return actual interactive UI components. Uses the Vercel AIC SDK for streaming responses, calls OpenAI embeddings to vectorize queries, and queries an Astra vector database (Data Stacks) to fetch metadata and poster URLs. Defines a typed tool with Zod, returns server-rendered React components (Tailwind styles) and yields progress messages while streaming. The demo renders posters that are clickable client-side and the flow works end to end.

AI-written summary · about

  1. 0:00React Server Components with AI
  2. 1:12Vector embeddings for AI search
  3. 3:21Movies Plus+ app structure
  4. 4:47AI context and conversation actions
  5. 8:23Testing AI search functionality
  6. 9:27Generative UI and tools
  7. 13:04Interactive movie posters demo
  8. 14:26Loading states and spinners
  9. 15:08Client-side interactivity
  10. 16:10Summary of generative UI
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.