Skip to main content


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

Topics or entities are not detected

Updated on July 5, 2022

You might notice that your application does not detect topics or entities correctly in incoming emails or chat messages. Common causes of issues with topic or entity detection include misconfiguration or insufficient model training. Learn about the solutions to these problems.

Cause: Topic or entity model does not have enough training data

Your topic or entity model might lack training data on the pattern that you are expecting.

Solution

  1. Retrain the model using appropriate training data.

Cause: Email parser is not detecting the body properly

In the case of an email bot, the email parser might not be trained properly to distinguish between the disclaimer, signature, and email body. As a result, the email parser wrongly identifies the email body as the signature or disclaimer. Typically, the text analyzer associated with the email channel is configured not to perform topic detection on the signature or disclaimer, which is why you are not getting the expected results.

Solution

  1. Run a test on the email parser model, using the email text for which the topic is not detected.
    For more information, see Testing an email parser.
    Result: In the test results, you might notice that the email parser wrongly classified the email body as the signature or disclaimer. This indicates that the email parser model does not have relevant training data.
  2. Retrain the email parser.
    For more information, see Training an email parser.

Cause: Wrong ruleset

Your system might contain multiple versions of a text analyzer and associated models in different rulesets. The application uses the prediction and model versions in the ruleset that it can access through its own application stack. These versions might not be the versions that you updated, which is why you are not getting the expected results.

Solution

  1. Ensure that the text analyzer and the models that you want to use are in a ruleset that belongs to your application stack.
  • Previous topic General troubleshooting tips for NLP
  • Next topic Email parser does not detect the body, signature, or disclaimer

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