Hello,
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.
Config.yml:
language: en
pipeline:
- 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
policies:
- name: MemoizationPolicy
max_history: 5
- name: TEDPolicy
max_history: 5
epochs: 10
- name: RulePolicy
nlu.yml
version: '2.0'
nlu:
- 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
domain.yml
version: '2.0'
intents:
- faq
session_config:
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
responses:
utter_faq/ask_payment:
- text: "All courses are free and open to anyone wishing to register."
utter_faq/ask_password_reset:
- text: "Some response..."
rules.yml
rules:
- rule: respond to FAQs
steps:
- 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