# ResponseSelector is not working properly

**URL:** <https://forum.rasa.com/t/responseselector-is-not-working-properly/19956>\
**Category:** Getting Started with Rasa\
**Created:** [October 17, 2019, 11:03am UTC](https://forum.rasa.com/t/responseselector-is-not-working-properly/19956 "2019-10-17T11:03:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivavks](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@sivavks](https://forum.rasa.com/u/sivavks)\
**Post date:** [October 17, 2019, 11:03am UTC](https://forum.rasa.com/t/responseselector-is-not-working-properly/19956/1 "2019-10-17T11:03:04Z")

</div>

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](https://rasa.com/docs/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](https://rasa.com/docs/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?

---

<div class="post-metadata">

**Author:** ![taguhi](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@taguhi](https://forum.rasa.com/u/taguhi)\
**Post date:** [November 29, 2019, 3:24pm UTC](https://forum.rasa.com/t/responseselector-is-not-working-properly/19956/2 "2019-11-29T15:24:04Z")

</div>

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