ResponseSelector is not working properly

Hi, I’m trying to build my first bot with faq type and I saw that ResponseSelector is a good way of organizing things. But, for some reason, rasa train doesn’t pick up the response for the intents to be picked up by ResponseSelector.

I get the following error:

Traceback (most recent call last): File “d:\anaconda3\lib\runpy.py”, line 193, in run_module_as_main “main”, mod_spec) File “d:\anaconda3\lib\runpy.py”, line 85, in run_code exec(code, run_globals) File "D:\Anaconda3\Scripts\rasa.exe_main.py", line 9, in File "d:\anaconda3\lib\site-packages\rasa_main.py", line 76, in main cmdline_arguments.func(cmdline_arguments) File “d:\anaconda3\lib\site-packages\rasa\cli\test.py”, line 154, in test test_nlu(args) File “d:\anaconda3\lib\site-packages\rasa\cli\test.py”, line 149, in test_nlu test_nlu(model_path, nlu_data, output, vars(args)) File “d:\anaconda3\lib\site-packages\rasa\test.py”, line 136, in test_nlu run_evaluation(nlu_data, nlu_model, output_directory=output_directory, **kwargs) File “d:\anaconda3\lib\site-packages\rasa\nlu\test.py”, line 1028, in run_evaluation test_data = training_data.load_data(data_path, interpreter.model_metadata.language) File “d:\anaconda3\lib\site-packages\rasa\nlu\training_data\loading.py”, line 77, in load_data training_data.fill_response_phrases() File “d:\anaconda3\lib\site-packages\rasa\nlu\training_data\training_data.py”, line 203, in fill_response_phrases story_lookup_intent ValueError: No response phrases found for ask_fir/fir_online. Check training data files for a possible wrong intent name in NLU/NLG file

My config file looks like:

Configuration for Rasa NLU.

Components

language: en pipeline:

  • name: “WhitespaceTokenizer”
  • name: “RegexFeaturizer”
  • name: “CRFEntityExtractor”
  • name: “EntitySynonymMapper”
  • name: “CountVectorsFeaturizer” analyzer: “char_wb” min_ngram: 1 max_ngram: 4
  • name: “EmbeddingIntentClassifier”
  • name: “ResponseSelector”

Configuration for Rasa Core.

Policies

policies:

  • name: MemoizationPolicy
  • name: KerasPolicy
  • name: MappingPolicy

My responses.md file has this line:

fir_online

  • ask_fir/fir_online:
    • 'The procedure for … ’

My domain file has: intents:

  • ask_fir

actions:

  • respond_ask_fir

My story file has:

happy path

  • greet
    • utter_greet
  • ask_fir
    • respond_ask_fir

My nlu file has:

intent:ask_fir/fir_online

  • Can I file an FIR online?

Couldn’t find any help either on the forum on stackflow? Can anyone please help?

Maybe I’m replying too late, but anyway. Do you have properly defined responses in responses.md file in your data folder?