When using retrevial-response mode it seems only the basic intent is matched ? Is this correct ?
F.e. let say i have this intent :
## intent: faq/strings+strip
when i --debug i see only “faq” intent…
How do you inspect all the matched intents in Action:run(), I mean if there are multiple of them ?
Also, Is there a way to attach code to Response-action ? so I can add debug code ?
Hi @sten , As the blog suggests -
All FAQ-related intents are grouped into one retrieval intent and are responded to by a single respond_ask_faq action. In your case,
faq is the basic intent that is used during intent classification. Once
faq intent is triggered, hopefully you have a
respond_faq action which gets triggered and that would pick up the highly probable predicted response from the response selector.
The confidence scores for these probable responses can be seen in the nlu output. Please check Parsing Response Selector Output section to understand the format.
i see … i have in domain.yml
any way to attach some action code to respond_faq ?
It will have to be a custom action and not
respond_ retrieval type action.
but doesn’t then I lose the Respnse-pick-logic that handles the responses i.e. I have to code that myself ?
A cleaner solution in that case would be to include retrieval actions in your story and create a separate custom action which you add after the corresponding retrieval action(