Skip to content

Releases: RasaHQ/rasa

2.0.1

20 Oct 17:44
29187d3
Compare
Choose a tag to compare

Bugfixes

  • #7018: Create correct KafkaProducer for PLAINTEXT and SASL_SSL security protocols.
  • #7033: - Fix YAMLStoryReader not being able to represent OR statements in conversion mode.
    • Fix MarkdownStoryWriter not being able to write stories with OR statements (when loaded in conversion mode).

1.10.16

15 Oct 08:49
086383b
Compare
Choose a tag to compare

Bugfixes

  • #6703: Update Pika event broker to be a separate process and make it use a
    multiprocessing.Queue to send and process messages. This change should help
    avoid situations when events stop being sent after a while.

1.10.15

12 Oct 08:10
ab0110d
Compare
Choose a tag to compare

Improvements

  • #6900: Debug logs from matplotlib libraries are now hidden by default and are configurable with the LOG_LEVEL_LIBRARIES environment variable.

Bugfixes

  • #3597: Fixed issue where temporary model directories were not removed after pulling from a model server. If the model pulled from the server was invalid, this could lead to large amounts of local storage usage.
  • #6755: Treat the length of OOV token as 1 to fix token align issue when OOV occurred.
  • #6899: Fixed MappingPolicy not predicting action_listen after the mapped action while running rasa test.

2.0.0

08 Oct 16:55
0bff19c
Compare
Choose a tag to compare

Deprecations and Removals

  • #5757: Removed previously deprecated packages rasa_nlu and rasa_core.

    Use imports from rasa.core and rasa.nlu instead.

  • #5758: Removed previously deprecated classes:

    • event brokers (EventChannel and FileProducer, KafkaProducer,
      PikaProducer, SQLProducer)
    • intent classifier EmbeddingIntentClassifier
    • policy KerasPolicy

    Removed previously deprecated methods:

    • Agent.handle_channels
    • TrackerStore.create_tracker_store

    Removed support for pipeline templates in config.yml

    Removed deprecated training data keys entity_examples and intent_examples from
    json training data format.

  • #5834: Removed restaurantbot example as it was confusing and not a great way to build a bot.

  • #6296: LabelTokenizerSingleStateFeaturizer is deprecated. To replicate LabelTokenizerSingleStateFeaturizer functionality,
    add a Tokenizer with intent_tokenization_flag: True and CountVectorsFeaturizer to the NLU pipeline.
    An example of elements to be added to the pipeline is shown in the improvement changelog 6296`.

    BinarySingleStateFeaturizer is deprecated and will be removed in the future. We recommend to switch to SingleStateFeaturizer.

  • #6354: Specifying the parameters force and save_to_default_model_directory as part of the
    JSON payload when training a model using POST /model/train is now deprecated.
    Please use the query parameters force_training and save_to_default_model_directory
    instead. See the API documentation for more information.

  • #6409: The conversation event form was renamed to active_loop. Rasa Open Source
    will continue to be able to read and process old form events. Note that
    serialized trackers will no longer have the active_form field. Instead the
    active_loop field will contain the same information. Story representations
    in Markdown and YAML will use active_loop instead of form to represent the
    event.

  • #6453: Removed support for queue argument in PikaEventBroker (use queues instead).

    Domain file:

    • Removed support for templates key (use responses instead).
    • Removed support for string responses (use dictionaries instead).

    NLU Component:

    • Removed support for provides attribute, it's not needed anymore.
    • Removed support for requires attribute (use required_components() instead).

    Removed _guess_format() utils method from rasa.nlu.training_data.loading (use guess_format instead).

    Removed several config options for TED Policy, DIETClassifier and ResponseSelector:

    • hidden_layers_sizes_pre_dial
    • hidden_layers_sizes_bot
    • droprate
    • droprate_a
    • droprate_b
    • hidden_layers_sizes_a
    • hidden_layers_sizes_b
    • num_transformer_layers
    • num_heads
    • dense_dim
    • embed_dim
    • num_neg
    • mu_pos
    • mu_neg
    • use_max_sim_neg
    • C2
    • C_emb
    • evaluate_every_num_epochs
    • evaluate_on_num_examples

    Please check the documentation for more information.

  • #6463: The conversation event form_validation was renamed to loop_interrupted.
    Rasa Open Source will continue to be able to read and process old form_validation
    events.

  • #6658: SklearnPolicy was deprecated. TEDPolicy is the preferred machine-learning policy for dialogue models.

  • #6809: Slots of type unfeaturized are
    now deprecated and will be removed in Rasa Open Source 3.0. Instead you should use
    the property influence_conversation: false for every slot type as described in the
    migration guide.

  • #6934: Conversation sessions are now enabled by default
    if your Domain does not contain a session configuration.
    Previously a missing session configuration was treated as if conversation sessions
    were disabled. You can explicitly disable conversation sessions using the following
    snippet:

    session_config:
      # A session expiration time of `0`
      # disables conversation sessions
      session_expiration_time: 0
    
  • #6952: Using the default action action_deactivate_form to deactivate
    the currently active loop / Form is deprecated.
    Please use action_deactivate_loop instead.

Features

  • #4745: Added template name to the metadata of bot utterance events.

    BotUttered event contains a template_name property in its metadata for any
    new bot message.

  • #5086: Added a --num-threads CLI argument that can be passed to rasa train
    and will be used to train NLU components.

  • #5510: You can now define what kind of features should be used by what component
    (see Choosing a Pipeline).

    You can set an alias via the option alias for every featurizer in your pipeline.
    The alias can be anything, by default it is set to the full featurizer class name.
    You can then specify, for example, on the
    DIETClassifier what features from which
    featurizers should be used.
    If you don't set the option featurizers all available features will be used.
    This is also the default behavior.
    Check components to see what components have the option
    featurizers available.

    Here is an example pipeline that shows the new option.
    We define an alias for all featurizers in the pipeline.
    All features will be used in the DIETClassifier.
    However, the ResponseSelector only takes the features from the
    ConveRTFeaturizer and the CountVectorsFeaturizer (word level).

    pipeline:
    - name: ConveRTTokenizer
    - name: ConveRTFeaturizer
      alias: "convert"
    - name: CountVectorsFeaturizer
      alias: "cvf_word"
    - name: CountVectorsFeaturizer
      alias: "cvf_char"
      analyzer: char_wb
      min_ngram: 1
      max_ngram: 4
    - name: RegexFeaturizer
      alias: "regex"
    - name: LexicalSyntacticFeaturizer
      alias: "lsf"
    - name: DIETClassifier:
    - name: ResponseSelector
      epochs: 50
      featurizers: ["convert", "cvf_word"]
    - name: EntitySynonymMapper
    

    :::caution
    This change is model-breaking. Please retrain your models.

    :::

  • #5837: Added --port commandline argument to the interactive learning mode to allow
    changing the port for the Rasa server running in the background.

  • #5957: Add new entity extractor RegexEntityExtractor. The entity extractor extracts entities using the lookup tables
    and regexes defined in the training data. For more information see RegexEntityExtractor.

  • #5996: Introduced a new YAML format for Core training data and implemented a parser
    for it. Rasa Open Source can now read stories in both Markdown and YAML format.

  • #6020: You can now enable threaded message responses from Rasa through the Slack connector.
    This option is enabled using an optional configuration in the credentials.yml file

        slack:
          slack_token:
          slack_channel:
          use_threads: True

    Button support has also been added in the Slack connector.

  • #6065: Add support for rules data and forms in YAML
    format.

  • #6066: The NLU interpreter is now passed to the Policies during training and
    inference time. Note that this requires an additional parameter interpreter in the
    method predict_action_probabilities of the Policy interface. In case a
    custom Policy implementation doesn't provide this parameter Rasa Open Source
    will print a warning and omit passing the interpreter.

  • #6088: Added the new dialogue policy RulePolicy which will replace the old “rule-like”
    policies Mapping Policy,
    Fallback Policy,
    Two-Stage Fallback Policy, and
    Form Policy. These policies are now
    deprecated and will be removed in the future. Please see the
    rules documentation for more information.

    Added new NLU component FallbackClassifier
    which predicts an intent nlu_fallback in case the confidence was below a given
    threshold. The intent nlu_fallback may
    then be used to write stories / rules to handle the fallback in case of low NLU
    confidence.

    pipeline:
    - # Other NLU components ...
    - name: FallbackClassifier
      # If the highest ranked intent has a confidence lower than the threshold then
      # the NLU pipeline predicts an intent `nlu_fallback` which you can then be used in
      # stories / rules to implement an appropriate fallback.
      threshold: 0.5
    
  • #6132: Added poss...

Read more

2.0.0rc4

05 Oct 23:02
23262e1
Compare
Choose a tag to compare

Pre-release version

Merge pull request #6838 from RasaHQ/prepare-release-2.0.0rc3

29 Sep 21:25
97a50dc
Compare
Choose a tag to compare

2.0.0rc2

24 Sep 16:29
104a959
Compare
Choose a tag to compare

Pre-release version

1.10.14

23 Sep 10:50
a975959
Compare
Choose a tag to compare

Bugfixes

  • #6741: Fixed the remote URL of ConveRT model as it was recently updated by its authors.

    Also made the remote URL configurable at runtime in the corresponding tokenizer's and featurizer's configuration.

1.10.13

22 Sep 11:52
031b5e2
Compare
Choose a tag to compare

Bugfixes

  • #6577: Remove BILOU tag prefix from role and group labels when creating entities.

2.0.0rc1

17 Sep 20:22
c3d839c
Compare
Choose a tag to compare

Pre-release version