I need to collect and send once a week, a list of words/sentences that rasa chatbot failed to answer, to a team, who will then add examples and then train the bot again,
How to do it?
I need to collect and send once a week, a list of words/sentences that rasa chatbot failed to answer, to a team, who will then add examples and then train the bot again,
How to do it?
Create your own fallback action which can write the user utterances and NLU prediction information to a file or DB. You can read more about this here
If you have a tracker store you can do a query to retrieve all the user messages with nlu_fallback intent.
Ok and thanks, understand what to do
This I don’t understand, can you elaborate more?
Here’s some example code. This method reads the latest message from tracker store and looks at the predicted intents for the user utterance.
A tracker store is a part of rasa that saves all the events in the database. You can make a query to obtain the information you want from it, in this case the user messages with a nlu_fallback intent.