Skip to main content


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

Testing text predictions

Updated on July 5, 2022

After you configure your text prediction, you can test it by feeding a sample text to the prediction and reviewing the results of the analysis. Next, you can use this information to further improve the configuration, for example, by creating additional topics and entities or by adding more training data or keywords for topics and entities.

  1. Open the text prediction:
    1. In the navigation pane of App Studio, click Channels.
    2. In the Current channel interfaces section, click the icon that represents a channel for which you want to configure the text prediction.
    3. On the channel configuration page, click the Behavior tab, and then click Open text prediction.
  2. In the Prediction workspace, click Test.
  3. In the Test prediction window, enter a sample text, and then click Test.
    Result: The prediction analyzes the text for the configured outcomes. The Run result section displays the results of the analysis. Depending on your configuration, the results cover the detected language, sentiment, topics, and entities.
    Testing a text prediction
    Test results for the sentence can you please cancel my ticket with pnr number AE3123
  4. Optional: To correct any of the detected outcomes, click Update next to the outcome, enter the correct value, and then click Submit.
For example:

The following video shows a test of a text prediction:

What to do next:

If the test results show that the predictions are not accurate, reconfigure your text prediction, for example, by adding more training data for topics or entities. For more information, see Reviewing and adding training data for text predictions.

If you are satisfied with the test results, a system architect can deploy the prediction to production. For more information, see Moving applications between systems.

    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.

    Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

    Close Deprecation Notice
    Contact us