Any reason why slot mapping for categorial slots needs to be custom in 3.0?

Hi all! :slight_smile:

When using RASA slots, there is the possibility of using categorical slots like here:

slots:
  risk_level:
    type: categorical
    values:
      - low
      - medium
      - high
    mappings:
    - type: custom

I don’t really understand whether I need to specify/code a custom mapping then or whether I can only use the type: custom. In the doc it says:

You can also use the custom slot mapping to list slots that will be filled by arbitrary custom actions in the course of a conversation, by listing the type and no specific action. This slot will not be updated on every user turn, but only once a custom action that returns a SlotSet event for it is predicted

So in this case there is no need to specify anything? Will the slot be set? And will it also be set if it is in form?

Many thanks!

Nope, you don’t need to do a custom mapping :slight_smile:

1 Like

Thank you! :slight_smile:

1 Like