Testing and debugging

Testing and debugging are crucial to building a production quality AI agent. You need to make sure the conversation flow covers all usage scenarios, correct replies are given and the necessary tasks are completed when intents are matched. The Alan AI Platform offers several tools and methods to test and debug your AI agent:

  • Debugging Chat: use the chat to the right of Alan AI Studio to check how separate voice commands or short conversational branches work.

  • Tools to simulate in-app behavior: use these tools to thoroughly test the in-app agent functionality in Alan AI Studio.

  • Test View: switch to the Test View in Alan AI Studio to create test cases covering all required dialog scenarios and run them repeatedly against new versions of dialog scripts.

  • Alan AI Studio logs: use the logs pane at the bottom of Alan AI Studio to see system messages from the Alan AI Platform along with custom messages written with the console.log function.

  • In-app testing: connect to the AI agent project from your mobile device to test the agent functionality in the app.