Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Voice AI debugging information

Updated on May 10, 2021

Several environmental factors might prevent Pega Voice AI from working as expected. Use the strategies described in this section to debug issues with Voice AI in your Pega Sales Automation instance.

Pega Sales Automation Implementation Guide

The two key types of issue related to Voice AI that might require debugging are:

  • Data flow issues, which prevent the system from transcribing the captured audio and sending it to the Pega server.
  • Agent desktop issues, in which the agent desktop does not receive the expected suggestions despite the availability of transcripts.

Before you begin debugging:

  • Verify that you have selected the Enable Voice AI checkbox under AdministrationVoice AI in the user portal.
  • Verify that the VerifyVoiceAIDataRetrieval activity returns a 202 or 204 result. If the activity does not return this result, the configuration is not complete, and the debugging steps in this section might not work.
  • Enable desktop debugging. Only errors are sent to browser console logs by default. Set the EnableAIDesktopLogging when rule to return true, to enable additional logging to the browser console, including logging of VAD events, utterances, suggested cases and articles, and detected entities.
  • Enable debugging to the PegaRules.log file. Use the EnableVoiceAIPartialUtteranceLogging and EnableVoiceAIFinalUtteranceLogging when rules to add additional logging to the PegaRules.log file of the RealTime node. If you set these when rules to return true, then partial or final utterances are printed to the logs. Enabling either of these rules also prints a count of the transcripts in each run of the data flow.
  • Ensure that you have access to the RealTime node to watch the tail of the PegaRules.log file, and access to the developer tools on the browser, to watch incoming events to the desktop.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us