CustomerSupportGPT is a developer template for building AI-powered chat support systems. It helps businesses provide instant, accurate, and personalized support to their customers 24/7. Whether it's answering FAQs, troubleshooting issues, or guiding customers through complex processes, CustomerSupportGPT is here to assist.
https://customer-support-gpt-metaschool.vercel.app/
- Instant, accurate, and personalized support using OpenAI's GPT-4o model.
- Create and manage multiple bots tailored to different customer support needs.
- Upload documents to create a knowledge base for the AI to reference.
- Engage customers in real-time through a chat interface.
- Next.js 14 for building the fullstack web app.
- OpenAI API for Advanced natural language understanding and generation.
- MongoDB, a NoSQL database for storing user data, bot configurations, and chat histories.
- Jose for secure user authentication and authorization.
- bcryptjs for password hashing for enhanced security.
- Instant customer support for FAQs and common issues.
- Troubleshooting and guiding customers through complex processes.
- Personalized support based on customer interactions.
- Real-time chat interface for engaging customers.
- Clone the repository:
git clone https://github.com/0xmetaschool/CustomerSupportGPT.git
- Navigate to the project directory:
cd CustomerSupportGPT
- Install dependencies:
npm install
- Set up the database:
Ensure you have MongoDB installed and running on your system, or use a cloud-hosted MongoDB service like MongoDB Atlas. Create a new Cluster, select a free plan, and copy the connection string, this will be required in the next step.
- Set up environment variables:
Create a .env.local file in the root directory and add the following variables:
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
OPENAI_API_KEY=your_openai_api_key
ENCRYPTION_KEY=your_encryption_key
- Start the development server:
npm run dev
Open your browser and navigate to http://localhost:3000
- Create a new account or sign in to your existing one.
- Create a new bot and upload documents to create a knowledge base for the AI to reference.
- Add the embed code to your website to enable the chat support widget.
We love contributions! Here's how you can help make the project even better:
- Fork the project (gh repo fork https://github.com/0xmetaschool/CustomerSupportGPT.git)
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Please open an issue in the GitHub repository for any queries or support.