Skip to main content


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

Training the model for the Email channel

Updated on January 13, 2023

To use Pega Email Bot™ in your application to seamlessly respond to user problems, train the system to recognize different user input in emails, such as help requests or other issues. When you train the text analytics model for the email bot, the system learns from training records, which improves the artificial intelligence algorithms and provides better responses to user input.

For example, you train the model for the email bot and apply the changes to the model. Based on the detected topic, entities, sentiment, language in emails, and intelligent email routing, the email bot then runs automated tasks, such as starting a business case and sending an automatic reply to the user.
Before you begin: Create an email bot and define its behavior. For more information, see Creating an Email channel and Defining Email channel behavior.

To ensure that the email bot learns from the training records and detects the correct information, such as topics and entities, apply the training changes to the text analytics model for the system. You apply changes to the model after you enable the training data recording, and then create and review the training records.

The system generates training data when a CSR:

For relevant training materials, see the Training the email bot module on Pega Academy.

Note: You can also configure the system to train the text analytics model based on attachments in text and image files in addition to the email body. For more information, see Enabling training the model based on email attachments.
  1. Enable training of your text analytics model for the email bot.
  2. Improve the email bot model by providing sample training records.
  3. Update the training data by ensuring that the email bot detects the right information by using text analysis.
    For more information, see Correcting training data in an email bot.
  4. Optional: To move the training data to another email bot, export and import the training records.
    This action makes the email bot easier to maintain and build in production, QA and development environments. For more information, see Transferring training data to another email bot.
  5. Make the email bot learn from the training data by building a text analytics model.
    This action improves the artificial intelligence of the system. For more information, see Applying changes to a text analytics model for an email bot.
    Note: For more information about NLP and machine learning in email bots, see Using email bots for natural language processing and machine learning.
What to do next: Triage incoming emails for the email bot. For example, update text analysis information, reply to users, transfer triage cases, spin off business cases, or resolve triage cases. For more information, see Triaging incoming emails.

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