=============================
This application provides an AI-powered customer support system using Next.js, NextUI, and OpenAI, deployed on Vercel.
- Next.js: A React-based framework for building server-side rendered (SSR) and statically generated websites and applications.
- NextUI: A React component library for building user interfaces.
- OpenAI: A platform for building AI models, including language models like GPT-3.
- Vercel: A platform for deploying and hosting modern web applications.
- AI-powered chatbot for customer support
- Integration with OpenAI's language models for natural language processing
- Next.js for building a fast and scalable web application
- NextUI for building a user-friendly interface
- Deployed on Vercel for easy scaling and management
- Clone the repository:
git clone https://github.com/your-username/ai-customer-support.git - Install dependencies:
npm install - Start the development server:
npm run dev
This application uses environment variables to store sensitive information such as API keys. To set up the environment variables, create a .env file in the root of the project with the following variables:
OPENAI_API_KEY: Your OpenAI API keyVERCEL_ANALYTICS_ID: Your Vercel analytics ID
Note: Do not commit your .env file to version control. Instead, add it to your .gitignore file to keep your API keys secure.
This application is deployed on Vercel. To deploy, simply push changes to your repository and Vercel will automatically build and deploy the application.
- File service: handles file-related operations, such as fetching the list of files and saving a new file to the database.
- Room service: handles operations related to chat rooms, such as fetching the list of rooms and creating a new room.
- Chatbot component: uses OpenAI's language models to provide AI-powered customer support.
- File uploader component: uses NextUI to provide a user-friendly interface for uploading files.
- Room list component: uses NextUI to display a list of chat rooms.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.