Testing skills and skill flows
Test skills and skill flows to help ensuring functionality and verifying whether refactoring efforts are needed. Builders can use the /legacy-chat
route to test skills and skill flows before they make them available for users.
The /legacy-chat
route is primarily available for testing skills and skill flows when the AI chat is the default chat of the tenant.
Users must use either the legacy chat or the AI chat (/chat
route) as the default chat option of the tenant to run skills and skill flows in production.
If the default chat is the legacy chat, any updates that are done in the
/legacy-chat
route affects the chat history in the /chat
route as well.
For more information about how to set the default chat of the tenant, see Switching the chat experience.
Before you begin
Add the skills and skill flows in the team skill set. Personal skill set and skill sets from AI assistants do not work in the /legacy-chat
route for testing purposes.
Before you test a skill or skill flow, you must follow the steps:
- Add the skills to the team skill set.
- Connect to the app of the skills.
- For skill flows, you must connect to all the apps that have the skills that are component of the skill flow.
Testing a skill or skill flow
Go to the /legacy-chat
route to test the skill or skill flow, for example, https://dl.watson-orchestrate.ibm.com/legacy-chat
. Run the skills or skill flows, provide the inputs that are needed, and view your tasks the
same as you do when you work on the legacy chat:
Test the inputs
Provide the data that is required for the skill to run successfully.
Test phrases
As part of the skill enhancement, you add the phrases that are required to trigger the skill in the legacy chat. Use the phrases that you added to the skill to start it.
Test the skill flow
Validate if the forms and the mappings are working as expected based on how the skill flow was developed so you can adjust it.
For more information about how the legacy chat works, see Using the legacy chat.
What to do next
After you test and refactor the skills and skill flows as needed, you can add them to the chat for your team to use it.
For more information about how to use skills in the AI chat, see Using skills in the AI chat.
For more information about how to use skills in the legacy chat, see Using the legacy chat.