Releases: gunthercox/ChatterBot
0.4.9
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
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
- Getting started with Django and ChatterBot: chatterbot.readthedocs.io/en/latest/django
- ChatterBot Django example app: ChatterBot/examples/django_app
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
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
toJsonFileStorageAdapter
to more accurately describe the adapter [https://github.com/gunthercox/ChatterBot/commit/3f626eceb50ffe3b579d1606c92c335d50684fb8]
0.4.6
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
0.4.5
0.4.4
0.4.3
- Testing updates
- Correct issue in mongo adapter [https://github.com/gunthercox/ChatterBot/commit/f5fa90697e2151d8e521bcf1b833adb4ef2aef1e] via @TimPchelintsev
0.4.2
- 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.
- Storage adapters can now override the
- 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
- 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.
- The
- Added sentiment logic adapter [https://github.com//pull/167].
0.4.0
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. Onlylogic_adapters
is now allowed.