Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 843 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 843 Bytes

Introduction

The Chatbot is an intelligent conversational agent designed to engage in natural language conversations with users. Powered by the OpenAI GPT.

Prerequisites

  • Node.js and npm installed
  • MongoDB installed and running
  • OpenAI API key

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/GPT-Chatbot.git
    cd GPT-Chatbot
    

Installation

npm install

Environment Variables

Create a .env file in the root of your project and add the following:

  • OPEN_AI_KEY=your_openai_api_key
  • MONGODB_URI=your_mongodb_connection_uri

Development

For local development, use Nodemon to automatically restart the server when changes are made.

npm run start

Built With

  • Node.js
  • Express
  • MongoDB
  • EJS
  • Open AI API