This is an AI-powered customer support chatbot using Next.js and the OpenAI API.
- Next.js - React Framework
- Shadcn UI - Components
- Next-auth - Authentication
- Prisma - ORM
- PostgreSQL - Database
- Neon - Database Hosting
- OpenAI - LLM(genAI)
- TailwindCSS - Styling
- Chatbot interface
- Respond to the user intelligently using any Gen-AI model
- Authentication for personalised chat experience
- Feedback implementation to rate chatbot's responses
- AWS Bedrock responses
- Multi-language support for a diverse culture base
- Implement RAG so the chatbot responds based on a given knowledge base
- Create an LLM orchestration pattern with a router and task specific models
1.Clone the repository:
git clone https://github.com/tushcmd/ai-customer-support.git
2.Install dependencies:
cd ai-customer-support
npm install
3.Set up environment variables:
cp .env.example .env
Edit the .env
file with all the necessary environment variables.
4.Run prisma commands to setup
npx prisma generate
# then
npx prisma migrate dev
# then
npx db push
5.Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Contributions are welcome! Please feel free to open issues or submit pull requests.
MIT License