How can I get the generated output in the code?

As the title

Hi Charles, what do you mean by getting the generated output in the code?

If you’re interested in what the user uttered and what the bot responded you could utilize the tracker for that one and inside the action code you can get info from it. You can access the tracker either through the HTTP API Rasa & Rasa Pro Documentation or by using it from the action code like this:

def run(self, dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
    events_from_latest = list(reversed(

Let me know if there is anything else to help with.

Regards, Nikola

Sorry for the late response. I just used the rasa server and call the APIs to get outputs. Thanks for your answer!