Releases: gunthercox/ChatterBot
0.5.4
Features
- Tighter Django integration [https://github.com//pull/471]
- Add save method to statements [https://github.com//pull/515]
- Add
created_at
field to statements [https://github.com//pull/536] - Add ordering parameter to filter method [https://github.com//pull/535]
Deprecation
- Deprecate
get_default
andupdate_default
session methods [https://github.com//pull/541]
Bug fixes
- Remove tested constraint for response objects in filter method [https://github.com//pull/511]
- Correct unicode characters in German corpus [https://github.com//pull/521]
Maintenance
- Move adapter type exception to adapter class [https://github.com//pull/512]
- Rename
SessionManager
toConversationSessionManager
[https://github.com//pull/519] - Add warnings about module rename [https://github.com//pull/538]
Documentation
0.5.3
Bug fixes
- Change default occurrence count to from 0 to 1 in Response model [https://github.com//pull/491]
- wsgi should point example_app (via @vkosuri) [https://github.com//pull/505]
- Convert response unicode into JSON object (via @vkosuri) [https://github.com//pull/498]
Maintenance
- Remove 'has_storage' method [https://github.com//pull/492]
- Deprecate OutputFormatAdapter [https://github.com//pull/500]
- Run json database in-memory when testing [https://github.com//pull/496]
- Do not update extra data from kwargs [https://github.com//pull/499]
- Update migration documentation (via @rajasimon) [https://github.com//pull/501]
- Remove the deprecated approximate sentence match adapter [https://github.com//pull/502]
- Remove the deprecated sentiment adapter class [https://github.com//pull/503]
- Update bootstrap version to 4-alpha in example app [https://github.com//pull/506]
Increasing Integration with Django
Several changes have been made to help make Django a first class citizen in ChatterBot. These changes improve both the performance of ChtterBot when using the popular Python web framework. The changes also help to make it more convenient for developers to use Django and ChatterBot together.
0.5.2
Efficiency
- Cache results from can_process method in math adapter [https://github.com//pull/461]
Bug fixes
- Fix grammar issues in russian conversation corups (via @alxmamaev) [https://github.com//pull/462]
- Handle the case that a chat session does not exist [https://github.com//pull/480]
- Fix Hipchat session management (via @vkosuri) [https://github.com//pull/485]
Testing
- Move Django tests out of the example app [https://github.com//pull/481]
0.5.1
0.5.0
ChatterBot 0.5 Release Notes (Major Release)
Backwards incompatible changes
- Split utils folder into a single file [https://github.com//pull/418]
- Rename 'context' to 'chatbot' [https://github.com//pull/419]
- Clean up or remove NLTK wrapper classes [https://github.com//pull/420]
- Change adapter import paths [https://github.com//pull/422]
Bug fixes
- Update scope of external package imports [https://github.com//pull/426]
- Remove check for ajax request in Django view [https://github.com//pull/428]
- Prevent possible edge case when adding inserting logic adapters [https://github.com//pull/434]
Features
0.4.14
0.4.13
Features
- Add support for integration with the Microsoft Bot Framework [https://github.com//pull/381]
- (A huge thanks to @vkosuri for working to add support for integration with Microsoft's Bot Framework).
- Add Django management command to train chat bot [https://github.com//pull/401]
- Add a logic adapter to return a specific response to a specific input. [https://github.com//pull/409]
- Add a logic adapter to return a default response when no good response is known [https://github.com//pull/409]
- Remove dependency on fuzzywuzzy [https://github.com//pull/410]
Bug fixes
- Fix adapter issue with unicode literals [https://github.com//pull/411]
0.4.12
Simplification of matching-type logic adapters
This is a cool internal change that occurred for this release. By pulling several statement comparison methods out into their own module, much of the code for several matching style logic adapters became nearly identical. This made it possible to reduce a large amount of repeated code.
In a future release, all of the matching style logic adapers (ClosestMatch, ClosestMeaning, SentimentAnalysis, ApproximateSentenceMatch) will be replaced by a single MatchingAdapter
class that will allow the comparison function to be set as a parameter.
- Modify
synset_distance
comparison function [https://github.com//pull/385] - The comparison function now returns a percent so it can be easily compared to other comparison methods.
- This change allowed the codebase for the closest match adapter and the closest meaning adapter to be combined.
- Move sentiment matching to it's own function [https://github.com//pull/386]
- Don't override get method on
ApproximateSentenceMatchAdapter
[https://github.com//pull/387] - Add check for if logic adapter string parameters need to be imported [https://github.com//pull/395]
Additional updates
Bug fixes
- Add check to prevent nltk_data download loop (via @vkosuri) [https://github.com//pull/369]
- Correct JSON formatting in corpora [https://github.com//pull/394]
- Datetime parser updates [https://github.com//pull/397]
Features
- Support extra_data passed to django API view [https://github.com//pull/374]
- Split up response generation and learning parts of
get_response
so that the learning process can be externally controlled if needed [https://github.com//pull/365] - Add check for logic adapter agreement [https://github.com//pull/375]
- Add Mailgun input adapter [https://github.com//pull/376]
- Remove twitter storage adapter in favor of trainer [https://github.com//pull/378]
- Add ability to set per-adapter parameters [https://github.com//pull/389]
- Add math words to Italian corpus (via @davideboschetto) [https://github.com//pull/393]
Maintenance
- Update logic methods and documentation [https://github.com//pull/364]
Corpus data
- Add German language (via @ThomasKoscheck) [https://github.com//pull/370]
0.4.11
Features
- Added date parsing utility (via @rmdort) [https://github.com//pull/321]
- Add methods for adding and removing logic adapters [https://github.com//pull/316]
- Add a sentiment selection based logic adapter [https://github.com//pull/291]
- Move logic adapter statement comparison methods to their own module [https://github.com//pull/327, https://github.com//pull/333]
- Add Gitter input and output adapters [https://github.com//pull/330]
- Pass logic adapter confidence to the output adapter [https://github.com//pull/332]
- Allow chat bot to be created from json config file [https://github.com//pull/340]
- Add command line ability to get chatterbot version [https://github.com/gunthercox/ChatterBot/commit/673bf358b99d8329ebf754c8b28d898218725126]
Bug fixes
Force training even if read_only is True (via @rmdort) [https://github.com//pull/337]
Maintenance
- Support queries in storage adapters by default [https://github.com//pull/305]
Testing
- Test that response history is maintained in Django API view [https://github.com//pull/303]
- Clean up integration tests [https://github.com//pull/328]
- Clean up nltk-based language utils and tests [https://github.com//pull/361]
Corpus
- Add Marathi corpus (via @mohan08p) [https://github.com//pull/335, https://github.com//pull/338, https://github.com//pull/344]
- Add French math words [https://github.com//pull/346]
Documentation
- Add a section on installing ChatterBot http://chatterbot.readthedocs.io/en/latest/setup.html
0.4.10
Bug fixes
- Change ChatBot filters parameter to import classes from the string path [https://github.com//issues/285]
Features
- Add
__str__
method to models via @hobson [https://github.com//pull/293] - Allow flag to be set to silence file storage performance warning (#297)
Maintenance
- Remove deprecated training module [https://github.com/gunthercox/ChatterBot/commit/4ee37d340a23f6bf2a3b0bf65649eb4db1c9506d]
Documentation
- Add documentation for tie breaking methods [https://github.com//issues/283]