Frontend state for custom actions
I studied the architecture Architecture and the corresponding python code.
As far as I understand user data is text message and extracted entities and form data accessilbe as slots. This is all parsed out from the text sent to the Rasa backend or extracted by entity identification.
Custom actions then can use and access that data via the tracker instance.
Sometimes it is extremely important the actual user/client state can be also passed to a custom action. For example a trading app already may know the market data or user positions. It may be to expensive to retrive it again in backend custom action server.
What is the canonical way to pass such data along each text message that is passed to rest webhook? Ideally there is a way to atttach a dictionary of key value pairs to each text that is sent to the Rasa server and make it accessible in the tracker.
I did not find a reasonable way to do that unless I have my own interpreter that parses the text message. Do I overlook something?
Thanks a lot for a suggestion how to tackle this problem.