Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/virajmadhu/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.
https://github.com/virajmadhu/openaichatbot

ai chatbot javascript nodejs openai openai-api openai-api-chatbot openai-chatbot

Last synced: 12 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# OpenAIChatBot
-- Created By --
* Viraj Madhushan, using OpenAI API on 23rd January 2023
* Node version used : v16.18.1

## Project Overview
OpenAI ChatBot is a sophisticated conversational AI application leveraging the OpenAI API to facilitate natural language interactions.
This repository contains the codebase for both the client and server sides of the application.

## How to setup project locally
### Prerequisites
* Node.js (v16.18.1)
* Git
* Open AI API key(Free) - [https://openai.com/api/](https://openai.com/api/)

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

### Running Client Side
* Redirect into project folder ```cd //client```
* Install node modules ```npm install```
* Run client ```npm run dev```

### Running Server Side
* Redirect into project folder ```cd //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
You can see the live demo [here](https://open-ai-chat-bot-delta.vercel.app/).