Skip to content

Pawan300/Simple-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@ChatBot:

Dataset:

This should be in format like:

{"intents": [
        {"tag": "greeting",
         "patterns": ["Hi", "How are you", "Is anyone there?", "Hello", "Good day", "Whats up"],
         "responses": ["Hello!", "Good to see you again!", "Hi there, how can I help?"],
         "context_set": ""
        }
        ]
}

How to run:

  • Open terminal

  • pip install -r requirement.txt

  • python model.py --data_path data/intents.json --model_path model/ --save_parameter parameter/parameter.pkl
    (data_path, model_path, save_parameter are optional you can change it in the code in default option)

  • If you training for the first time : python model.py --data_path data/intents.json --model_path model/ --save_parameter parameter/parameter.pkl
    - it will create a model and parameter file

  • If files are already there then it will start conversation with Chat-Bot using same command as mentioned above.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages