Chatterbot: Tell me a joke

Created on 11 Dec 2017  路  2Comments  路  Source: gunthercox/ChatterBot

I have a corpus file called humor.yml

It has multiple examples of Tell me a joke. The problem is it has the same joke each time.

How can I have it tell different jokes each time?

answered question

Most helpful comment

I got this working code is below. y.

 logic_adapters=[
        "chatterbot.logic.MathematicalEvaluation",
        {
        "import_path": "chatterbot.logic.BestMatch",
        "response_selection_method": "chatterbot.response_selection.get_random_response"      
        },

All 2 comments

I got this working code is below. y.

 logic_adapters=[
        "chatterbot.logic.MathematicalEvaluation",
        {
        "import_path": "chatterbot.logic.BestMatch",
        "response_selection_method": "chatterbot.response_selection.get_random_response"      
        },

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings