Skip to content

Releases: gunthercox/ChatterBot

0.5.4

29 Dec 23:11
Compare
Choose a tag to compare

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 and update_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 to ConversationSessionManager [https://github.com//pull/519]
  • Add warnings about module rename [https://github.com//pull/538]

Documentation

  • Add link to ChatterBot live example created by @vkosuri [https://github.com//pull/517]

0.5.3

17 Dec 11:57
Compare
Choose a tag to compare

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.

  • Give Django Statement & Response models the same attributes as ChatterBot Statements & Responses [https://github.com//pull/488]
  • Make sure default Django input and output adapters work with the Statement & Response models [https://github.com//pull/490]

0.5.2

10 Dec 21:15
Compare
Choose a tag to compare

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

03 Dec 15:28
Compare
Choose a tag to compare

Features

  • Additional mathematical operation support thanks to @le-corentin [https://github.com//pull/449]

Bug fixes

  • Fixed unicode characters in the spanish corpus (via @luksireiku) [https://github.com//pull/440]

Deprecation

  • Deprecate matching logic adapters [https://github.com//pull/456]

0.5.0

30 Nov 19:51
Compare
Choose a tag to compare

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

  • Add session management [https://github.com//pull/424]
  • Remove dependency on Textblob [https://github.com//pull/435]

0.4.14

26 Nov 16:04
Compare
Choose a tag to compare

Bug fixes

  • Handel the case that a Mongo DB statement does not have an in_response_to attribute [https://github.com//pull/415]

Features

  • Add training class for Ubuntu corpus [https://github.com//pull/405]

0.4.13

19 Nov 13:40
Compare
Choose a tag to compare

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

09 Nov 02:28
Compare
Choose a tag to compare

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

0.4.11

26 Oct 19:48
Compare
Choose a tag to compare

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

Documentation

0.4.10

19 Sep 11:58
Compare
Choose a tag to compare

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]