Christian Thone

@christiant (1)
christiant
christiant shared a Post
2 years ago
2
EDITH 3.0 | I need help to train her so can people help out here
Share
All you have to do is talk to her and she will try to answer you based on what she knows, if she doesn't know how to respond she will ask you to tell
EDITH 3.0
Python
Read full post
RECENT REPLIES
CodeLongAndPros
CodeLongAndPros 2 years ago
Also, there is the chatterbot lib, if you don’t want to make yours from scratch.
JoeyLent
JoeyLent 2 years ago
You should use .json files instead of .txt files. JSON files are basically Python dictionaries. For example, the json file where the responses are stored could look like this: { "Hello": "Hey there!", "How are you?": "I'm doing good!" "Tell me a joke": 1 } The 1 can be used a code for the program, telling it to tell the user a joke. As @CodeLongAndPros mentioned, parsing (reading and understanding) the text will be a problem. Chat bots are a really difficult thing to program, and so far
CodeLongAndPros
CodeLongAndPros 2 years ago
This is really cool, but I have one comment. Due to your checking of the text, you can have nonsense be a valid statement image