NLU trainign data entity format

In Version 2.0 I’m curious what the proper format is for specifying entities in the NLU data.

The docs seem to have examples with and without quotes around the entity name:

No quotes around name:

version: "2.0"

nlu:
- intent: greet
  examples: |
    - Hey
    - Hi
    - hey there [Sara](name)
:

No quotes around account:

nlu:
- intent: check_balance
  examples: |
    - What's my [credit](account) balance?

With quotes around account

nlu:
- intent: check_balance
  examples: |
    - how much do I have on my [savings]("account") account

I’m happy to do a PR to correct them, but I’m not sure which is the proper way :slight_smile:

I am not using quotes (like your first two examples).

1 Like

I use the ones without the quotes. I do not remember using quotes in the previous Rasa version.

1 Like