Skip to content

tushcmd/ai-customer-support

Repository files navigation

AI Customer Chat Bot

Project Overview

This is an AI-powered customer support chatbot using Next.js and the OpenAI API.

Technologies

  • Next.js - React Framework
  • Shadcn UI - Components
  • Next-auth - Authentication
  • Prisma - ORM
  • PostgreSQL - Database
  • Neon - Database Hosting
  • OpenAI - LLM(genAI)
  • TailwindCSS - Styling

Features

  • Chatbot interface
  • Respond to the user intelligently using any Gen-AI model
  • Authentication for personalised chat experience
  • Feedback implementation to rate chatbot's responses

Features to Add

  • 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

Getting Started

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.

Contributing

Contributions are welcome! Please feel free to open issues or submit pull requests.

License

MIT License

About

An AI-powered customer support chatbot using Next.js and the OpenAI API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published