Newshot
Account

Show HN: I built an enhanced AI chat using the new Generative UI from CopilotKit

Original text(via HN AI)

CopilotKit Generative UI Example

Setup

  • Install dependencies with npm install.
  • Create an OpenAI API key in the OpenAI platform.
  • Add OPENAI_API_KEY=your_api_key to .env.local.
  • Start the app with npm run dev. Restart the server after changing the key.

The app uses gpt-6-luna. OpenAI API usage may incur charges; see the pricing page.

app
app
app diagram
app diagram

Only about 560 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗