From_text slot mapping is not filled if intent_name set to None

Hello,

In the docs it says:

The from_text mapping will use the text of the next user utterance to fill the slot slot_name . If intent_name is None , the slot will be filled regardless of intent name.

However, this is not working for me. For example, if I write my code as below, it will always trigger a fallback respone:

  classify_form:
    headline:
    - type: from_text
      intent: None
    symbol_type:
    - type: from_entity
      entity: symbol_type

However, if I fill in the intent as below, it works fine until I enter a phrase that doesn’t align with the pre-existing training examples for enter_headline:

  classify_form:
    headline:
    - type: from_text
      intent: enter_headline
    symbol_type:
    - type: from_entity
      entity: symbol_type

Am I doing something wrong? I would really appreciate some advice

Can you try this?

  classify_form:
    headline:
    - type: from_text
    symbol_type:
    - type: from_entity
      entity: symbol_type
2 Likes

Yes that works, thank you!

Perfect.