A simple AI chat app built with Subframe using the following:
- Subframe's AI chat template
- Subframe Next.js / Tailwind starter kit
- OpenAI API
- Vercel AI SDK
Use this as a starting point for your project or continue editing the UI in Subframe.
- Download or clone this repo and install the dependencies:
npm install
- Replace the OpenAI API key with your own in the
.env
file:
export OPENAI_API_KEY=your-api-key
- Run the project:
npm run dev