I am very excited for this new experimental feature Retrieval Action and I really would like it to attain an official status. I have a set of simple Q & A that RASA with this feature can handle. However, in case the scoring was low enough, can the component trigger a REST API call with the question as its body to a pre-trained BERT model (a closed domain QA) and send back the response ?
Let me elaborate a little bit: We have a set of Q & A but also we have an internal “news room” where the user is free to ask any question. So when the question is sent:
It search the intent to see if the question matches any of the local RASA intents.
If not, it will go and try to use the Response Selector to see if the questions matches any "ChitChat"ing intents.
If the scoring is low again, it will lookup through the Action Server using a REST API call and using the question inside the Request against a pre-trained BERT models trained for this internal “news-room”
If nothing else matches, it will response with a negation such as “Sorry, I don’t know how to answer this”
Is this kind of pipelining possible with RASA ?