Welcome to the Support Chatbot! This project provides a user-friendly interface for interacting with an AI-powered chatbot designed to provide support and assistance. It allows users to ask questions, seek guidance, and receive responses in real-time.
- Conversational chat interface
- AI-powered responses
- User-friendly input and output display
- Seamless integration with backend API
- Responsive design for various devices
- React.js: JavaScript library for building user interfaces
- Axios: Promise-based HTTP client for making API requests
- CSS: Styling and layout of the chatbot interface
To get started with the Support Chatbot, follow these steps:
- Clone the repository:
git clone https://github.com/rajatmjain/SupportChatBot.git
- Install the dependencies for the client:
cd client
thennpm install
- Install the dependencies for the server:
cd ../server
thennpm install
- Start the client development server:
cd client
thennpm start
- Start the server:
cd ../server
thennpm start
- Open the chatbot in your browser:
http://localhost:8080
- Go to
server/src/knowledgeBase/knowledgeBase.js
to provide context for better responses. - Go to
client/src/info
to change the company name. - Create an
.env
file inserver
to store your OpenAI API Key. Example:OPENAI_API_KEY=abcde12345
Enter your message in the input field at the bottom of the chatbot interface. Press the "Send" button or hit Enter to send your message. The chatbot will process your message and provide a response. Continue the conversation by sending additional messages.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request. Let's make the Support Chatbot even better together.