gunthercox / ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
https://chatterbot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14.08k stars 4.44k forks source link

Wrong response to simple questions!! #1867

Open SMRN opened 4 years ago

SMRN commented 4 years ago

Hi, my chatbot learned by simple yml file, but unfortunately the chosen answer is the one with the lowest confidence. -------------------------------Answers----------------- I need a job Robot : We don't have any car I need a TV Robot : We don't have any car -------------------------------------------yml file----------------------

sohamnandi77 commented 4 years ago

@SMRN I was having the same problem with the responses. best solution to this would be write your own database of chats and use chatterbot.logic.BestMatch and keep the maximum_similarity_threshold to 0.90.

sohamnandi77 commented 4 years ago

@SMRN for reference, you can check out:

[]https://github.com/sohamnandi007/chatbot

dancaron commented 3 years ago

2112 Solves this.