This is a simple chatbot built with Python, Flask, and the spaCy NPL model. The chatbot is capable of finding the remander of a sentence in a website provided by the user. The code uses Flask along side an HTML file to create a local host where you can imput the question and website link.
- Fetches content from a specified URL using web scraping techniques
- Analyzes user queries using spaCy for natural language processing
- Generates responses based on the content of the web page
- Clone the repository:
git clone https://github.com/your_username/your_repository.git
- Install the required dependencies:
pip install -r requirements.txt
- Run the Flask application:
python Chatbot.py
- Open your web browser and navigate to http://localhost:5000. You should see the chatbot interface.
- Start interacting with the chatbot. Type a message in the input box and press Enter to see the response.
The chatbot configuration can be modified in the Chatbot.py file.
- Update the
urlvariable with the URL of the web page you want to analyze.
- If you encounter any issues, please check the console for error messages.