An intelligent FAQ chatbot built using node-nlp
and express
. This chatbot helps users by answering frequently asked questions and also allows users to submit new FAQs, with the ability to update and dynamically expand the FAQ knowledge base.
- Features
- Getting Started
- Cloning the Project
- Installation Requirements
- Running the Application
- Project Structure
- How to Contribute
- License
- FAQ Display: Shows a list of frequently asked questions for users.
- Intelligent Responses: Uses
node-nlp
to answer user queries based on the FAQ data. - Dynamic FAQ Updates: Users can add new FAQs, which are incorporated into the system dynamically without retraining.
- Interactive UI: A web-based interface where users can interact with the chatbot.
- Node.js + Express Backend: A robust backend that manages interactions between the chatbot, users, and FAQ data.
Follow these steps to get the project up and running on your local machine.
To clone this repository, use the following command:
git clone https://github.com/Csasaka19/CodeAlpha_FAQ_Chatbot.git
cd CodeAlpha_FAQ_Chatbot
Make sure you have Node.js and npm installed. Then, install the project dependencies:
npm install
npm index.js
The server will be running at :http://localhost:5000
CodeAlpha_FAQ_Chatbot/
│
├── models/
│ ├── model.nlp # FAQ model for storing question-answer pairs that was trained initially
│
├── public/
│ ├── index.html # Frontend HTML for interacting with the chatbot
│ ├── css/ # Frontend styles
│ └── js/ # Frontend JavaScript
│
├── model.nlp # The recent model generated when the user adds a new FAQ
├── index.js # Main Express server file
├── package.json # Project dependencies and metadata
├── README.md # Project documentation
└── .gitignore # Ignore unnecessary files
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
Fork the repository on GitHub. Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
Make your changes and commit them:
git commit -m "Add your message here"
Push to your branch:
git push origin feature/your-feature-name
Create a pull request to the main repository.
This project is licensed under the GNU Affero General Public License. See the LICENSE file for more information.