Using Response Selector for FAQs don't return any Utterance


I am currently switching to response selectors for my faqs. IMO I followed this guide here. Training works perfectly fine and also matching questions to intents, however, I do not receive any response. My logs from the console are attached.


language: en

      - name: WhitespaceTokenizer
      - name: RegexFeaturizer
      - name: LexicalSyntacticFeaturizer
      - name: CountVectorsFeaturizer
      - name: CountVectorsFeaturizer
        analyzer: char_wb
        min_ngram: 1
        max_ngram: 4
      - name: DIETClassifier
        epochs: 100
      - name: EntitySynonymMapper
      - name: ResponseSelector
        epochs: 100
        retrieval_intent: faq

    - name: MemoizationPolicy
      max_history: 5
    - name: TEDPolicy
      max_history: 5
      epochs: 10
    - name: RulePolicy


version: '2.0'

  - intent: faq/ask_payment
    examples: |
      - Do I have to pay for courses? 
      - How much does the courses cost
      - What is the price of the courses
      - Do the courses cost money?
      - Are the courses free?
      - I don't want to pay money for the courses
  - intent: faq/ask_password_reset
    examples: |
      - I forgot my password, what can I do? 
      - I lost my password
      - I forgot my password
      - How can I retrieve my password
      - I need to reset my password
      - Where can I reset my password
      - Where can I retrieve my password


version: '2.0'

  - faq

  session_expiration_time: 60  # value in minutes, 0 means infinitely long
  carry_over_slots_to_new_session: false  # set to false to forget slots between sessions

  - text: "All courses are free and open to anyone wishing to register."
  - text: "Some response..."


  - rule: respond to FAQs
    - intent: faq
    - action: utter_faq

My Rasa version:

Rasa Version     : 2.0.2
Rasa SDK Version : 2.0.0
Rasa X Version   : None
Python Version   : 3.7.2
Operating System : Darwin-19.6.0-x86_64-i386-64bit

This is indeed weird - your setup looks exactly like mine, which works.

Have you validated your YAMLs? I see a little indentation error with “utter_faq/ask_password_reset:” in your domain - but it might also just be an error from copying the code into here.

YAML is very sensitive with its indents - could be the reason why it can’t find the response.

Yes, you are right, this is, unfortunately, a copy/paste error. I will edit it

One strange output while training is:

/Users/theresa/.pyenv/versions/3.7.2/lib/python3.7/site-packages/rasa/shared/utils/ UserWarning: 
Found a rule-based policy in your pipeline but no rule-based training data. Please add rule-based stories to your training data or remove the rule-based policy (`RulePolicy`) from your your pipeline.
  More info at

which seems strange as I have rules defined for faq which I want to use

Found my problem: rules.yml must be placed inside the data folder