Skip to main content

Debug a Chat

Testing Flows

With BotDojo you can design, test and debug your Flow in one place. Let’s test out our simple ChatBot by pressing the Play Icon and typing "Hello."

alt text

Hopefully, that worked for you. Now, let’s change the prompt so the ChatBot responds like a pirate. No need to save anything, just make the change and type it in chat. All changes you make to your Flow are automatically saved, so it’s easy to revert to a previous version.

alt text

Now, we have a pirate ChatBot. The individual Nodes will light up as they’re executing. To see everything that’s happening under the hood, you can click on the View Trace at the bottom of each Node, in order to have complete observability of your Flows.

Our ChatBot has now transformed into a pirate! As it operates, you'll notice the nodes illuminate during execution. Upon completion of each Node's task, you can view its execution time along with a "View Trace" link positioned beneath the node. These Traces provide a comprehensive view of the internal workings, ensuring you have full visibility into your flows.

To gain insights into the operational details, either click on the "View Trace" link or select the "Open the Debug Panel" button. This action will show you the detailed information available in Traces.

alt text

Next up, let’s add some Memory to our ChatBot, so it can keep track of our conversation.