Skip to content

ICareEvents/Customer-Support-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Generative Text for Customer Support Automation

Overview

This project is a customer support chatbot leveraging OpenAI's GPT-3.5 Turbo model, implemented using React for the front end, Express for the backend, and MongoDB for data storage. The application provides users with an interactive interface to engage in conversations with the GPT-3.5 Turbo model.

Features

  • Conversational Interface: Users can have dynamic and natural language conversations by inputting prompts or queries.

  • Backend Integration: The Express backend manages communication with the OpenAI API, handling requests and responses seamlessly.

  • Data Persistence: MongoDB is employed for storing user data, including prompts and model responses.

Use Cases:

  1. Automated Response Generation: Problem Statement: Customer support teams are overwhelmed by repetitive inquiries that could be handled by automated systems. Solution: Implement a generative AI model to automatically generate accurate and context-aware responses to common customer queries, reducing the load on human agents and improving response times.

  2. Personalized Customer Engagement: Problem Statement: Customers expect personalized interactions that cater to their specific needs and preferences. Solution: Use generative AI to create personalized engagement messages based on customer data and interaction history, enhancing customer satisfaction and loyalty.

Prerequisites

Before running the application, ensure you have the following installed:

  • Node.js
  • npm (Node Package Manager)
  • MongoDB

Setup

  1. Clone the repository:

    git clone https://github.com/ICareEvents/Customer-Support-Automation
  2. Navigate to the project directory:

    cd 
  3. Install dependencies for both the client and server:

    # Install frontend dependencies
    cd frontend
    npm install
    
    # Install backend dependencies
    cd backend
    npm install
  4. Configure environment variables:

    Modify the .env.txt file in the backend directory and add the following variables and rename it to .env:

    ```bash
    OPENAI_API_KEY=your_openai_api_key
    MONGODB_URI=your_mongodb_uri
    ```
    
  5. Start the application:

    # Start the client (in the frontend directory)
    cd frontend
    npm run dev
    
    # Start the server (in the backed directory)
    cd backend
    npm run dev

Notes

  • Make sure to replace your_openai_api_key and your_mongodb_uri with your actual OpenAI API key and MongoDB connection URI in the .env file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published