Skip to content

Releases: gunthercox/ChatterBot

0.4.9

09 Sep 00:49
Compare
Choose a tag to compare

Filters [https://github.com//pull/230]

Filters are a new feature designed to complement ChatterBot's storage adapters by enabling more efficient control over the what data is returned. Check out the documentation on filters for more information: http://chatterbot.readthedocs.io/en/latest/filters.html

Other changes

Bug fixes

  • Avoid problems using format strings with unicode characters (via @davizucon) [https://github.com//pull/269]
  • All Django settings are now passed to the ChatBot constructor [https://github.com/gunthercox/ChatterBot/commit/adc1ed8b4cfa55591dd3c05ca3f8fee6964f3c15]

Features

  • Raise an exception if an invalid tie breaking method is used [https://github.com/gunthercox/ChatterBot/commit/1c437dcce148f8eb5b6d3456f3228120f582f44e]
  • The training class can now be set as a string passed to the ChatBot constructor [https://github.com/gunthercox/ChatterBot/commit/be6c22ad1e4fd56aa1acdc30ecf92c3babb2a9c4]

Tests

  • The base test case is now set to return object type responses instead of strings [https://github.com//pull/279]

Documentation

  • Improved Django documentation [https://github.com/gunthercox/ChatterBot/commit/dedca51105f020f8f8fb84d37ede476400f63901]
  • Added documentation on setting logging levels
  • Added documentation on ChatBot parameters

0.4.8

04 Sep 00:45
Compare
Choose a tag to compare

Support for Django integration [https://github.com//pull/266]

I am excited to announce ChatterBot's new support for direct integration with Django. Django plays a huge role in the Python community and a tremendous number of developers choose to use it for their projects and applications. I believe that enabling developers to use ChatterBot easily in their Django applications will open numerous new doors for what we can create.
~ @gunthercox

Other changes

Logic Adapters

  • Addition of a new logic adapter using Jaccard index (via @sumn2u) [https://github.com//pull/272]
  • Languages can now be specified for the mathematical evaluation adapter [https://github.com//pull/273]

Data corpus

  • All data files in the project are now stored within the corpus module [https://github.com//pull/273]

Logging

  • Add logging for logic adapter results [https://github.com/gunthercox/ChatterBot/commit/4cc25d17563cf8aba3873171bea8ec46300ddab6]

Documentation

  • Improved documentation on creating new logic adapters

0.4.7

02 Sep 14:30
Compare
Choose a tag to compare

Bug fixes

  • Fix some formatting issues in Portuguese corpus [https://github.com/gunthercox/ChatterBot/commit/1ed1afad690ee5c4e10d81f285dcb5ddb2a4bad1]
  • Remove empty file from French corpus [https://github.com/gunthercox/ChatterBot/commit/db2f758bc0d7d1632e5f9dfaab2b48721518af88]
  • Return a confidence of zero if a random response is selected [https://github.com//pull/244]
  • Check count variable in Mongo DB adapter before it is used (via @navyad) [https://github.com//pull/253]
  • Pass correct arguments to tie breaking methods (via @davizucon ) [https://github.com//pull/268]

Features

  • Add ability to export database as ChatterBot training corpus [https://github.com//pull/239]
  • Add info level logging [https://github.com//pull/245]
  • Pass existing extra data from input through to processed response (via @gsingers) [https://github.com//pull/263]

Documentation

  • Added a program flow diagram [https://github.com//issues/246]

Deprecation

  • Rename JsonDatabaseAdapter to JsonFileStorageAdapter to more accurately describe the adapter [https://github.com/gunthercox/ChatterBot/commit/3f626eceb50ffe3b579d1606c92c335d50684fb8]

0.4.6

16 Aug 20:58
Compare
Choose a tag to compare

Bug fixes

  • Correct issue with statement response serialization [https://github.com//pull/224]
  • Correct unicode equality issue in python 2.7 [https://github.com//pull/222]
  • Add new list_corpus_files method to corpus class [https://github.com//pull/229]

Maintenance

  • Simplify import for the chatterbot.training.trainers module [https://github.com//pull/228]

Training data additions

  • Addition of French training data thanks to @alekaizer
  • Addition of Chinese training data thanks to @wwj718

Examples

  • Tkinter example is now compatible with python3 [https://github.com//pull/225] thanks to @wwj718

0.4.5

23 Jul 12:35
Compare
Choose a tag to compare
  • Use bulk operations in mongo update method [https://github.com//pull/211]
  • Add Indonesian corpus data [https://github.com//pull/212]
  • Added UTF-8 support in corpus [https://github.com//pull/216]

0.4.4

09 Jul 13:10
Compare
Choose a tag to compare
  • Removed signature objects [https://github.com//pull/196]
  • Added a HipChat input and output adapter [https://github.com//pull/176]
  • Updated format of Exceptions [https://github.com/gunthercox/ChatterBot/commit/227f21350bdd9e7daedac2220ab2869b2aaac650]

0.4.3

17 Jun 00:16
Compare
Choose a tag to compare
  • Testing updates
  • Correct issue in mongo adapter [https://github.com/gunthercox/ChatterBot/commit/f5fa90697e2151d8e521bcf1b833adb4ef2aef1e] via @TimPchelintsev

0.4.2

05 Jun 11:38
Compare
Choose a tag to compare
  • Increased efficiency in the MongoDB storage adapter #173
    • Storage adapters can now override the get_response_statements method to provide a more efficient implementation.
    • An efficient version of the get_response_statements method has been implemented on the MongoDB storage adapter.
  • Additions to the Italian language training corpus thanks to @0x8b30cc
  • Various updates to ChatterBot's documentation http://chatterbot.readthedocs.io/en/latest/

0.4.1

24 May 12:12
Compare
Choose a tag to compare
  • Changed default input and output adapters. The defaults have been changed from the TerminalAdapter to:
    input_adapter="chatterbot.adapters.input.VariableInputTypeAdapter",
    output_adapter="chatterbot.adapters.output.OutputFormatAdapter",
  • The recent_statements variable now holds the entire current conversation [https://github.com//pull/170]
  • Increase flexibility of training [https://github.com//pull/171]
    • The set_trainer method should now be called to set the training method for the chat bot see examples.
  • Added sentiment logic adapter [https://github.com//pull/167].

0.4.0

14 May 10:05
Compare
Choose a tag to compare

ChatterBot 0.4

This is a fairly major release with many changes breaking backwards compatibility.

Introducing Input & Output adapters

IO adapters have been divided into two new modules (input adapters and output adapters).
This change makes it possible to write less code by being able to mix and match different
types of inputs with different types of outputs.

Improved documentation

Lots of new documentation has been added. Check it out! http://chatterbot.readthedocs.io/

Other changes

  • Removed the weather adapter [https://github.com/gunthercox/ChatterBot/commit/8856bce1fad2ae387e4bfc5eccd7ac256f4b0081]
  • Added output adapter for the Mailgun api [https://github.com/gunthercox/ChatterBot/commit/4e9ef44f1fc1db32e2bdcaa67073068979813df0]
  • Renamed EvaluateMathematically logic adapter to MathematicalEvaluation [https://github.com/gunthercox/ChatterBot/commit/d62771b0777580fa05d69c125c042b7590dbbae3]
  • Removed optional logic_adapter parameter. Only logic_adapters is now allowed.