To train Pega Email Bot to detect the correct language in emails, select the language
for a training record, and then build a text analytics model for the system. Correcting the
detected language in training data ensures that the email bot selects the right languages to
perform text analysis of emails.
-
In the header of Dev Studio, click the name of the application, and then click
Channels and interfaces.
-
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.
For example: To display data records only detected in the English language, select
English.
-
In the list of training records, select a data record.
Result: The NLP analysis section displays the detected
language for the training data record.
-
In the NLP analysis section, in the
Language list, select a language.
- Optional:
To use this training record to improve the artificial intelligence of your
email bot, in the Review training data section, click
Mark reviewed.
Create at least 15 records in the training sample so that the system learns
how to detect the right information in emails.
- Optional:
To correct the identified language in additional training records, repeat steps
4
through 7.
-
Click Save.
What to do next: Teach the email bot the reviewed and corrected training records by rebuilding the
text analytics model. For more information, see Applying changes to a text analytics model for an email bot.