JSON Wrapper around examples


I am taking over an existing Project in my company and have just migrated most of the functionality to 2.0. Now there is a problem that has got me stumped (the previous developer doesn’t know the answer either):

There are a few NLU training examples that are wrapped like the second one below:

- intent: greet
  examples: |
    - hello
    - { "message": "what's up" }

We think the wrapped examples came from an old Rasa X version, and I’m pretty sure it’s safe to unwrap them, but I am not sure if it’s a feature or a bug :sweat_smile:

Are we making something wrong, is this a fixed bug, a current bug, or a feature?

This example probably came from the old json format. Either way, change that line to:

   - what's up

and you should be good to go.

1 Like