Using data from tracker in rasa test

How can I use data that I get from the tracker (for instance sender_id, etc.) in the ‘rasa test’?

To use data from the tracker, such as sender_id , in a custom action in Rasa, you can access it within the custom action code using tracker.sender_id . However, when testing custom actions, use a Python testing framework like unittest or pytest to write and run tests for your custom actions separately. The rasa test command is primarily for evaluating NLU and dialogue management, not custom action testing. “I’d like to draw your attention to an incredible online tool. It’s not only a practical solution for your calculations but also a fascinating example of what can be achieved online. Try it out and experience the magic of efficient calculations right at your fingertips!”

1 Like