Skip to content

Releases: RasaHQ/rasa

1.10.5

02 Jul 11:10
192e466
Compare
Choose a tag to compare

Bugfixes

  • #6119: Explicitly remove all emojis which appear as unicode characters from the output of regex.sub inside WhitespaceTokenizer.

1.10.4

01 Jul 15:12
70823f9
Compare
Choose a tag to compare

Bugfixes

  • #5998: WhitespaceTokenizer does not remove vowel signs in Hindi anymore.
  • #6031: Previously, specifying a lock store in the endpoint configuration with a type other than redis or in_memory
    would lead to an AttributeError: 'str' object has no attribute 'type'. This bug is fixed now.
  • #6032: Fix Interpreter parsed an intent ... warning when using the /model/parse
    endpoint with an NLU-only model.
  • #6042: Convert entity values coming from any entity extractor to string during evaluation to avoid mismatches due to
    different types.
  • #6078: The assistant will respond through the webex channel to any user (room) communicating to it. Before the bot responded only to a fixed roomId set in the credentials.yml config file.

1.10.3

12 Jun 17:05
c518a58
Compare
Choose a tag to compare

Improvements

  • #3900: Reduced duplicate logs and warnings when running rasa train.

Bugfixes

  • #5972: Remove the clean_up_entities method from the DIETClassifier and CRFEntityExtractor as it let to incorrect
    entity predictions.
  • #5976: Fix server crashes that occurred when Rasa Open Source pulls a model from a
    model server <server_fetch_from_server> and an exception was thrown during
    model loading (such as a domain with invalid YAML).

1.10.2

03 Jun 10:52
7a0cbec
Compare
Choose a tag to compare

Bugfixes

  • #5521: Responses used in ResponseSelector now support new lines with explicitly adding \n between them.
  • #5758: Fixed a bug in rasa export (section_export) which caused Rasa Open Source to only migrate conversation events from the last session_config.

1.10.1

15 May 14:05
12f545c
Compare
Choose a tag to compare

Improvements

  • #5794: Creating a Domain using Domain.fromDict can no longer alter the input dictionary.
    Previously, there could be problems when the input dictionary was re-used for other
    things after creating the Domain from it.

Bugfixes

  • #5617: Don't create TensorBoard log files during prediction.
  • #5638: Fix: DIET breaks with empty spaCy model
  • #5755: Remove clean_up_entities from extractors that extract pre-defined entities.
    Just keep the clean up method for entity extractors that extract custom entities.
  • #5792: Fixed issue where the DucklingHTTPExtractor component would
    not work if its url contained a trailing slash.
  • #5825: Fix list index out of range error in ensure_consistent_bilou_tagging.

Miscellaneous internal changes

1.10.0

28 Apr 16:00
8f93669
Compare
Choose a tag to compare

Features

  • #3765: Add support for entities with roles and grouping of entities in Rasa NLU.

    You can now define a role and/or group label in addition to the entity type for entities.
    Use the role label if an entity can play different roles in your assistant.
    For example, a city can be a destination or a departure city.
    The group label can be used to group multiple entities together.
    For example, you could group different pizza orders, so that you know what toppings goes with which pizza and
    what size which pizza has.
    For more details see entities-roles-groups.

    To fill slots from entities with a specific role/group, you need to either use forms or use a custom action.
    We updated the tracker method get_latest_entity_values to take an optional role/group label.
    If you want to use a form, you can add the specific role/group label of interest to the slot mapping function
    from_entity (see forms).

    Composite entities are currently just supported by the `diet-classifier` and `CRFEntityExtractor`.

  • #5465: Update training data format for NLU to support entities with a role or group label.

    You can now specify synonyms, roles, and groups of entities using the following data format:
    Markdown:

    [LA]{"entity": "location", "role": "city", "group": "CA", "value": "Los Angeles"}
    

    JSON:

    "entities": [
        {
            "start": 10,
            "end": 12,
            "value": "Los Angeles",
            "entity": "location",
            "role": "city",
            "group": "CA",
        }
    ]
    

    The markdown format [LA](location:Los Angeles) is deprecated. To update your training data file just
    execute the following command on the terminal of your choice:
    sed -i .deprecated -E 's/\[(.*)\]\((.*):(.*)\)/\[\1\]\{"entity": "\2", "value": "\3"\}/g' nlu.md

    For more information about the new data format see training-data-format.

Improvements

  • #2224: Suppressed pika logs when establishing the connection. These log messages
    mostly happened when Rasa X and RabbitMQ were started at the same time. Since RabbitMQ
    can take a few seconds to initialize, Rasa X has to re-try until the connection is
    established.
    In case you suspect a different problem (such as failing authentication) you can
    re-enable the pika logs by setting the log level to DEBUG. To run Rasa Open
    Source in debug mode, use the --debug flag. To run Rasa X in debug mode, set the
    environment variable DEBUG_MODE to true.

  • #3419: Include the source filename of a story in the failed stories

    Include the source filename of a story in the failed stories to make it easier to identify the file which contains the failed story.

  • #5544: Add confusion matrix and "confused_with" to response selection evaluation

    If you are using ResponseSelectors, they now produce similiar outputs during NLU evaluation. Misclassfied responses are listed in a "confused_with" attribute in the evaluation report. Similiarily, a confusion matrix of all responses is plotted.

  • #5578: Added socketio to the compatible channels for reminders-and-external-events.

  • #5595: Update POST /model/train endpoint to accept retrieval action responses
    at the responses key of the JSON payload.

  • #5627: All Rasa Open Source images are now using Python 3.7 instead of Python 3.6.

  • #5635: Update dependencies based on the dependabot check.

  • #5636: Add dropout between FFNN and DenseForSparse layers in DIETClassifier,
    ResponseSelector and EmbeddingIntentClassifier controlled by use_dense_input_dropout config parameter.

  • #5646: DIETClassifier only counts as extractor in rasa test if it was actually trained for entity recognition.

  • #5669: Remove regularization gradient for variables that don't have prediction gradient.

  • #5672: Raise a warning in CRFEntityExtractor and DIETClassifier if entities are not correctly annotated in the
    training data, e.g. their start and end values do not match any start and end values of tokens.

  • #5690: Add full_retrieval_intent property to ResponseSelector rankings

  • #5717: Change default values for hyper-parameters in EmbeddingIntentClassifier and DIETClassifier

    Use scale_loss=False in DIETClassifier. Reduce the number of dense dimensions for sparse features of text from 512 to 256 in EmbeddingIntentClassifier.

Bugfixes

  • #5230: Fixed issue where posting to certain callback channel URLs would return a 500 error on successful posts due to invalid response format.

  • #5475: One word can just have one entity label.

    If you are using, for example, ConveRTTokenizer words can be split into multiple tokens.
    Our entity extractors assign entity labels per token. So, it might happen, that a word, that was split into two tokens,
    got assigned two different entity labels. This is now fixed. One word can just have one entity label at a time.

  • #5509: An entity label should always cover a complete word.

    If you are using, for example, ConveRTTokenizer words can be split into multiple tokens.
    Our entity extractors assign entity labels per token. So, it might happen, that just a part of a word has
    an entity label. This is now fixed. An entity label always covers a complete word.

  • #5574: Fixed an issue that happened when metadata is passed in a new session.

    Now the metadata is correctly passed to the ActionSessionStart.

  • #5672: Updated Python dependency ruamel.yaml to >=0.16. We recommend to use at least
    0.16.10 due to the security issue
    CVE-2019-20478 which is present in
    in prior versions.

Miscellaneous internal changes

1.9.7

23 Apr 20:27
46c6cec
Compare
Choose a tag to compare

Improvements

  • #4606: The stream reading timeout for rasa shell` is now configurable by using the environment variableRASA_SHELL_STREAM_READING_TIMEOUT_IN_SECONDS. This can help to fix problems when usingrasa shell`` with custom actions which run
    10 seconds or longer.

Bugfixes

  • #5709: Reverted changes in 1.9.6 that led to model incompatibility. Upgrade to 1.9.7 to fix
    self.sequence_lengths_for(tf_batch_data[TEXT_SEQ_LENGTH][0]) IndexError: list index out of range
    error without needing to retrain earlier 1.9 models.

    Therefore, all 1.9 models except for 1.9.6 will be compatible; a model trained on 1.9.6 will need
    to be retrained on 1.9.7.

Miscellaneous internal changes

1.10.0-alpha2

22 Apr 15:11
Compare
Choose a tag to compare
pre-release

1.9.6

15 Apr 11:15
2434e54
Compare
Choose a tag to compare

Bugfixes

  • #5426: Fix rasa test nlu plotting when using multiple runs.
  • #5489: Fixed issue where max_number_of_predictions was not considered when running end-to-end testing.

Miscellaneous internal changes

1.10.0-alpha1

06 Apr 16:44
76e12fb
Compare
Choose a tag to compare
pre-release