Entities labeled within stories file

Within the “stories” file, there are lines where a slot is filled ie (from the restaurant bot):

form: inform{“cuisine”: “mexican”}

  • slot{“cuisine”: “mexican”}
  • form: restaurant_form
  • slot{“cuisine”: “mexican”}
  • slot{“requested_slot”: “num_people”}

Are the actual entity values important at all for training? That is, if I had an example of a story where certain form slots were filled, would there be any value in me programmatically adding the exact same story to the story file but just exchanging the actual values of the entities with something else. For example I could take the above and modify it and then add the modified story to the story file:

form: inform{“cuisine”: “italian”}

  • slot{“cuisine”: “italian”}
  • form: restaurant_form
  • slot{“cuisine”: “italian”}
  • slot{“requested_slot”: “num_people”}

Is there any value to this? If not, what is the point of having entity values that slots are filled with in the story file at all?

Thank you.

Hi @zeroangel, depending on the featurization, slot values can affect your story flow. For a text slot, Rasa Core will only distinguish between “slot set” and “slot not set”. But if you use a categorical or custom slot for the entity value, then Rasa Core sees the different values and can change the response accordingly (see Slots). So, if you use categorical or custom slots, then it makes sense to write out multiple stories for “mexican” and “italian” in your example, if you actually want the story flow to depend on that choice.