Skip to content

isaac-joshua/MM_prototype_sih2023

Repository files navigation

Mining Maestros Legal Mining Chatbot

Mining Maestros is a chatbot built using deep learning techniques. The chatbot is trained on a dataset containing categories (intents), patterns, and responses. A special recurrent neural network (LSTM) is used to classify which category the user's message belongs to, and then a random response is given from the list of responses.

Getting Started

To use the Mining Maestros chatbot, follow these steps:

  1. Download all the files.

  2. Open Command Prompt.

  3. Navigate to the folder where your files are present.

  4. Install required modules:

    Make sure your system has the following modules installed: tensorflow, keras, nltk, pickle. If not, then install the modules using the command:

    pip install module_name
    
  5. Run the chatbot:

    Once the modules are installed, you can run the chatbot using the command:

    python chatbot.py
    This will start the chatbot, and you can begin interacting with it.
    

Training the Chatbot

If you want to train the chatbot on your own dataset, follow these steps:

  1. Prepare your dataset:

    Your dataset should be in a CSV format with three columns: 'Pattern', 'Intent', and 'Response'. Make sure to preprocess your data by removing any unnecessary characters, punctuation, or symbols.

  2. Train the chatbot:

    To train the chatbot, run the command:

    python train.py
    

This will train the chatbot on your dataset and save the trained model.

  1. Test the chatbot:

    After training the chatbot, you can test its performance by running the command:

    python test.py
    
    This will start the chatbot and allow you to interact with it.
    

Extra files

we have also included information about the trial GUI model and its features using html css and javascript. You can further customize it as needed.

Acknowledgments

Thanks to the developers of TensorFlow, Keras, NLTK, and other open-source libraries used in this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published