Task 02: Test the chat flow
Introduction
To ensure optimal performance, Adatum needs to test its chat flow before deployment. Testing allows the identification of errors, inconsistencies, and areas for improvement, ensuring a seamless user experience.
Description
In this task, you’ll test various elements of the chat flow to ensure it’s ready for deployment. This includes verifying input/output accuracy, response latency, and conversation coherence.
Success Criteria
- The chat flow is working properly.
Learning Resources
Key tasks
01: Test the individual items using the flow pane
Expand this section to view the solution
-
Once the compute session is running, scroll to the first item in the flow pane on the left, formatRewriteIntentInputs and select the play button in the upper right.

This will allow you to test a single flow at a time. This is useful when building a new flow and connecting the individual elements. The graph to the right will also show the status of the test.

-
Once the test has completed, select the Outputs dropdown at the bottom of the formatRewriteIntentInputs flow.

Once a test has been run on a flow, the Outputs dropdown will show under that item. You can use this to test the connection of your flow. As multiple items in a flow link together, ensuring the correct input and output values for each is important.
-
To test the entire flow, select the Chat button in the upper right. This will bring up a chat window window over the flow visualization graph.

-
In the chat, run the following query to test the overall functionality of the flow:
Show me a list of products.The response should show a list of products, like in the playground.

-
Close the chat window with the X in the upper right to return to the flow visualization graph. Note that all flow items show as Completed as a result of running the entire flow.
Each of the items in the flow pane will now have output data relevant to an actual test. You can check the outputs of the different flows to get a better idea of how information is being linked and passed between them.
You’ve successfully completed this task.