Hey folks !
I got a new idea in my project but I have some troubles to make it works. With my teammate we developed a response selector based on context. It’s a RNN based on an open source GitHub project. This RNN uses the 3 previous messages to compute an answer and provide it as a String. It is working quite similarly as the response selector that RASA is providing. That’s why I create a RASA NLU component to use it in the pipeline.
My problem is the following : How can I get the last 3 messages of the user in the NLU component ? I’m aware that NLU is generally working without context. So I don’t have access to the tracker.
Why did I want a NLU component ? I don’t really know but for me it was quite logic. The fact is that the NLU component is processing data input and provide results. The other part, RASA Core, take all these informations (intent, forms in progress, entities, sentiment, negation, question, etc.) and decide what to do (utter this response or not, use a form, etc.). That’s why I decide to create a component and not a policy. The project is really huge and complex that’s why it’shard to see if my component is a good idea or not.
I would really appreciate an opinion on this.