We have a requirement to employ a “context-sensitive” NLU. That is, an NLU that is aware of where it is within a conversation. We are only using the NLU portion of Rasa and cannot use core currently.
With that in mind I see that the format for /model/parse only has a text and id field. I decided I can solve this by passing the context information in a specific format and pull out the data in the pipeline by doing preprocessing. For example the text of the message would appear like this:
“This is the message to be parsed.[[here is the context information]]”
Anything that is within the brackets can be parsed out. My question is, is there another way to do this? Is there a way to pass more than just text and id in the JSON sent to the Http API? Will other fields in that JSON be picked up in some way?
Thank you in advance.