Closed flooie closed 8 years ago
Yep! It hasn't been trained beyond the corpus so the answers you are seeing are from multiple people using the demo with different inputs.
If you're running it locally, you can pass input using the url.
Ex: http://localhost:5000/get/how%20are%20you?
EDIT (Feb 2018): A user interface now exists thanks to @binitshah!
I'm getting strange answers like: Q: how are you? A: Who? Who is but a form following the function of what
Q: what day is today? A: Artificial Intelligence is the branch of engineering and science devoted to constructing machines that think.
Those are the responses selected by the logic adapters when that bot doesn't have a lead. For more info check out this response on how the bot works.
For example, you can train the bot to answer "How are you?" like this:
chatbot.train([ "How are you?", "I am good" ])
I see. But I did call train
with English corpus and English.Greetings corpus which is built-in right?
Yeah, for the English corpus you can find all of the queries and their responses here. Try any of the exact queries in any of the files there and you'll see their responses.
IC. I tried 'how are you?' not 'how are you doing?'. I'm surprised this doesn't match in best matches adapter.
That's because "how are you?" is closer to "who are you?" than it is to "how are you doing?". The response to "who are you?" is what results in "Who? Who is but a form following the function of what" (see conversations.yml).
Is the demo functional?