This module is an introduction to the Vercel AI SDK.
- Takeoff
- Vercel AI SDK Docs
- Vercel AI SDK Next.js Quickstart
- Next.js Docs
- Tailwind CSS Docs
- Shadcn Docs
We recommend using Cursor to write code.
You will need an OpenAI API Key.
Get one here.
Copy the .env.example
file to a .env.local
.
cp .env.example .env.local
In .env.local
, fill in the API key.
OPENAI_API_KEY=your-openai-api-key
npm i
npm run dev
Open http://localhost:3000 in your browser.
You should see the app running.