Conditional Responses for Strings

I have this code

  utter_greet:
  - condition:
      - type: slot
        name: nickname
        value: vitor
    text: "Olá {nickname}! Sou Bot, o assistente virtual da ----- 🤖"
  - text: "Olá! Sou Bot, o assistente virtual da --- 🤖"

But the condition only woorks for bool slots, because Rasa Conditional Responses use the “==” operator, so in this example, it would only work if my nickname value was exactly ‘vitor’, I tried it.

I think it should actually act like stories, meaning that the slot was set or not,

Besides creating a “nickname_helper” bool slot, is there a way to achieve this goal? To greet the person with their name if I already have their nickname?

There has been some past discussion of this. It’s a good idea and I don’t see a github issue requesting this so you should add this (and maybe write a PR).