This project aims to create a chatbot capable of answering user queries while also integrating a conversational form to collect user information such as Name, Email, Phone Number, and Address.
- Chatterbot: Chatterbot is utilized for building the conversational AI, providing the chatbot with the capability to understand and respond to user queries.
- spaCy: spaCy is employed for natural language processing tasks such as tokenization, entity recognition, and text classification, enhancing the chatbot's understanding of user inputs.
- Django: Django framework for handling language processing tasks efficiently, enabling seamless integration with Chatterbot and spaCy.
- Document Query: The chatbot is trained to understand and respond to user queries based on the information provided in documents. It employs machine learning algorithms to comprehend the context of the queries and provide relevant responses.
- Conversational Form: When prompted by the user to call them, the chatbot initiates a conversation to collect essential user information, including Name, Email, Phone Number, and Address. The conversational form guides users through the information collection process, ensuring a smooth and engaging user experience.
-
Clone the repository to your local machine.
git clone https://github.com/HackerajOfficial/ChatBot.git
-
Active environment
venv\Scripts\activate
-
Install the necessary dependencies
pip install -r requirements.txt
-
Start the Django development server:
python manage.py runserver
-
Open your web browser and navigate to
http://localhost:8000
-
Train ChatBot through Upload .txt Document
http://localhost:8000/train
Contributions to enhance the functionality and performance of the chatbot are welcome. If you'd like to contribute, please fork the repository, make your changes, and submit a pull request outlining the modifications.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code in accordance with the terms of the license.
For any inquiries or feedback regarding the project, please contact RaazKapoorKuswaha at hackeraj.np@gmail.com.