/ludolph-chatbot

Ludolph Artificial Intelligence Plugin (ChatBot)

Primary LanguagePythonMIT LicenseMIT

ludolph-chatbot

Ludolph: ChatBot plugin.

Plugin that allows a machine-learning based conversational dialog engine. Although it currently uses the ChatterBot engine it can be easily extended to support other dialog engines.

Plugin is not production ready yet.

Installation

  • Install the latest released version using pip:

    pip install https://github.com/erigones/ludolph-chatbot/tarball/master
    
  • Add new plugin section into Ludolph configuration file (see configuration section for more options):

    [ludolph_chatbot.chatterbot]
    database = /var/lib/ludolph/ludolph_chatbot.sqlite3
    
  • Reload Ludolph:

    service ludolph reload
    

Dependencies:

Configuration

Optional config options and its default values. These options can be defined in the config file to change ChatBot plugin behaviour.

logic_adapters

  • logic_adapters = chatterbot.logic.MathematicalEvaluation,chatterbot.logic.TimeLogicAdapter,chatterbot.logic.BestMatch
  • storage_adapter = chatterbot.storage.SQLStorageAdapter
  • low_confidence_threshold = 0.65
  • low_confidence_response = I am sorry, but I do not understand. Check out help for chatbot-train command.
  • muc = false
  • muc_confidence_threshold = 0.95

To enable the LowConfidenceAdapter just define low_confidence_threshold or low_confidence_response in your Ludolph configuration file.

Links

License

For more information see the LICENSE file.