Need an example to do Contextual Conversations with categorial slots

In Rasa Doc and github, there is an example to do Contextual Conversations with bool slots. I’ve been trying to do Contextual Conversations with categorial slots, but after many tries, no lucky so far. I don’t know how to set slot value with intents.

If anyone can show a simple example. That would be very helpful. Thanks~

categorial slot + synonym + contextual story will do the job.

One tip: In config.yml, put ‘EntitySynonymMapper’ behind ‘DIETClassifier’; otherwise, the synonym won’t work at all.