- Clone the repository
git clone https://github.com/hArsh92/ai-agent.git
- Install the dependencies
npm install
-
Generate OpenAI key and OpenWeather Key
-
Create
.env
file and add above keys in the environment file
OPEN_AI_API_KEY='open-ai-key'
OPEN_WEATHER_API_KEY='open-weather-key'
- Start the application
node src/index.js