"3 ways to use the new global slot mappings..."

Hi,

I have a question from a new released Blog post " 3 ways to use the new global slot mappings in your chatbot development".

What does mean in the code line “event_is_action”?

I have never seen that, but from what I understand from the blog, it looks like a user-defined action that shows if the event is utter_abilities.

Try to do print(event) and check how you can extract its name :slight_smile:

I understood what it is, it is an internal function that returns True or False. I have implemented it. It is just strange to put in a blog post, which is promoting Global slot mapping, a piece of code that does not work. But I am already used to it with RASA documentation - nothing works when you follow step-by-step documentation and you have to really break your head trying to understand WHY.

Hi @risgrot,

would you be so kind to post your implementation of that method here?

Many, many thanks!

@risgrot could you please share your code?

Hi @risgrot

I’m also trying to follow this blog and struggling with the same problem. Would you mind sharing your code please?