Build an AI App

Project Setup

In this session, we'll be exploring the fundamentals of the Vercel AI SDK.

Let's start by setting up our project.

Clone the following repository locally.

git clone https://github.com/nicoalbanese/aie-feb-25-starter
cd aie-feb-25-starter

Install packages using your preferred package manager.

npm install

Copy the .env.example and rename it to .env.

cp .env.example .env

Add your OpenAI API Key to your .env file.

OPENAI_API_KEY="sk-*****-*************"

Great! You are now ready to go!