/takeoff-vercel-ai-sdk

Primary LanguageTypeScriptMIT LicenseMIT

Takeoff: Vercel AI SDK

This module is an introduction to the Vercel AI SDK.

Resources

Recommendations

We recommend using Cursor to write code.

Prerequisites

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

Install Packages

npm i

Run Code

npm run dev

Open http://localhost:3000 in your browser.

You should see the app running.