/OpenAIChatBot

This project was created using Open AI API. Everyone please feel free to fork the project and work on it. Also click the below link to see the live demo.

Primary LanguageJavaScriptMIT LicenseMIT

OpenAIChatBot

-- Created By --

  • Viraj Madhushan, using OpenAI API on 23rd January 2023
  • Node version used : v16.18.1

How to setup project locally

  • Clone the app using git clone https://github.com/VirajMadhu/OpenAIChatBot.git

Running Client Side

  • Redirect into project folder cd /<your-project-folder>/client
  • Install node modules npm install
  • Run client npm run dev

Running Server Side

  • Redirect into project folder cd /<your-project-folder>/server
  • Install node modules npm install
  • Create .env file using cp .env.example .env
  • Add your OpenAI Api key at the relant environment key. (more info at https://openai.com/api/)
  • Run client npm run server

Live Demo