miurla / gen-ui-demo

This project is a straightforward demonstration that utilizes Vercel AI SDK to implement Generative UI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is a straightforward demonstration that utilizes Vercel AI SDK v3.0 to implement Generative UI. It's developed based on the sample code provided in the official documentation.

Getting Started

  1. Clone the repository
git clone https://github.com/miurla/gen-ui-demo
  1. Go to the project folder
cd gen-ui-demo
  1. Install packages
pnpm install
  1. Setup your .env.local file. And set your own OpenAI API Key.
cp .env.example .env.local
  1. Run the development server:
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Generative UI, take a look at the following resources:

About

This project is a straightforward demonstration that utilizes Vercel AI SDK to implement Generative UI.


Languages

Language:TypeScript 94.2%Language:CSS 5.3%Language:JavaScript 0.6%