This project is a chatbot integrated with the OpenAI API using the Vercel SDK and the Shadcn/UI library to create an interactive chat interface.
Follow the steps below to set up and run the project in your local environment.
-
Clone the repository:
git clone https://github.com/guifelippe/chatbot-ai-rocketseat.git
-
Install dependencies:
cd chatbot-ai-rocketseat npm install
-
OpenAI API Configuration: You will need an OpenAI API key. Copy the .env.example file to .env and set your API key in the .env file.
-
Start the development server:
npm run serve
-
Access the application in your browser: Open your browser and access http://localhost:3000 to see the chatbot in action.
This project was developed based on the Rocketseat tutorial. We appreciate Rocketseat for providing an excellent learning resource.