Correcting training data in an email bot
When you want to improve the ability of Pega Email Bot™ to detect topics, language, and entities, you can review and correct the training data in the system. By correcting the training data and rebuilding the text analytics model, you improve the artificial intelligence of the email bot and teach it to more accurately detect the desired information in emails. The system can then suggest the right business case or email response, based on the detected information.
For example, you can correct training data related to a car insurance request for an email bot, so that later the system correctly identifies a car insurance topic and entities related to a car make and model.- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Email channel.
- On the Email channel configuration page, click the Training data tab.
- Optional: If you configure multiple languages for the email bot, to filter data records by a language, in the Language list, select a language.
- In the list of training records, select a data record.
- Correct the data for the training record:
Choices Actions Modify text - In the Review training data pane, click the More icon, and then click Edit.
- In the Update text window, edit the text for the training record, and then click OK.
Update the topic to be detected - In the Topic field in the NLP analysis section, press the Down arrow key.
- Select a more appropriate topic for the training record.
For example, to correct a training record so that its intent relates to car insurance, select Car insurance.
Update the language to be detected In the NLP analysis section, in the Language list, select a language. Add new entities - In the Review training data section, in the data record content, highlight and right-click the text that you want to map to the new entity, and then click New entity.
- In the Create new entity window, in the Entity name field, enter a name for the entity, and then click Submit.
For example, to create an entity for a car make, highlight the word Ford and enter Car Make as the new entity.
Update existing entities In the Review training data section, in the data record content, highlight and right-click the text for an existing entity, and then click the name of another entity. For example, to make sure the car make in the text maps to the CarMake entity, highlight and right-click Ford, and then click #CarMake.
- Optional: To use this training record to improve the artificial intelligence algorithm of your email bot, in the Review training data section, click Mark reviewed.
- Optional: To correct entities in additional training records, repeat steps 5 through 7.
- Click Save.
Previous topic Creating training data manually for an email bot Next topic Transferring training data to another email bot