We are working on an NLP use case where entity extraction from emails with predefined training data is working well. Now, we want to allow end users to contribute to training the NLP model.
In Pega Customer Service, users can right-click on text within an Email Case to select or correct entities. When this is done, training records are automatically generated in the Email channel’s Training Data tab.
However, this feature does not occur in a standalone Email Bot application built with Theme Cosmos.
In Customer Service, this functionality is handled by the pega_cpm_IP_EventManager JavaScript file, which manages entity mapping updates and triggers the creation of training data records in the Email channel.
How can we implement similar training data generation in a non–Customer Service Email channel setup? Any suggestions or best practices would be greatly appreciated.
@YuvarajG16832788 this is expected to work in Email manager portal. Are you using Email cases standalone in work portals?
Hi @VikasRaidhan,
We are using a standalone case type, where email triage cases are created from Service Email. Our work class inherits from Work-Channel-Triage-Email, and we are leveraging Cosmos-based portals (no Customer Service).
We have noticed that in Customer Service (PegaAppCA), the pyHighlightedMessage section references EntityDropdownController, while in Pega-ProcessEngine, the pyHighlightedMessage section does not.
This missing section appears to control right-click and entity selection functionality for training.
Are you saying that the Email Manager Portal (pyEmailClient) in the Pega Platform offers the same on-the-fly training capability as Customer Service? If so, could you please share the relevant section names? Thanks
We are looking for something like this:
Regards,
Sachin
For Theme Cosmos, you also need to install a compatible Email Manager Cosmos component from marketplace. The latest one works on all recent releases as well. It’s a combination of sections and javascripts which I won’t recommend overriding.