Skip to main content

Training the email bot with Pega Gen AI

1 Task

5 mins

Visible to: All users Applies to: Pega Customer Service '24.1
Beginner
English
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Scenario

U+ Bank wants to use Pega Email Bot™ to respond to customer problems and speed up business processes seamlessly. As a system architect, you are tasked to help train the already built email bot by adding training records to interpret emails and detect the correct information, such as topics and entities.

Use the following table provides the credentials you need to complete the challenge:

Role User name Password
System Architect CSAppadmin password123!

Your assignment consists of the following task:

Task: Train the email bot to understand topics

In the Training data tab of the email bot, click Add records using GenAI to help train the email bot by adding training records to interpret emails.

 

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Train the email bot to understand topics

  1. Log in to App Studio as Customer Service Application Administrator:
    1. In the User name field, enter CSAppadmin.
    2. In the Password field, enter password123!.
  2. In the navigation pane of App Studio, click Channels.
  3. On the Channels landing page, click MySupport to update the Channel configuration.
    MySupport channel
  4. Click the Training data tab.
  5. To add training records, click Add records using GenAI.
  6. From Topic list, select the Address Change case and then set the number of records to 5.
  7. Enter the following sample email content:

    Hi,

    I have a new address. It is 55 Elm Drive, Allston, MA 02134. Can you update my account to reflects this change?

    Thanks,

    Frederic

    The following figure shows the completed dialog:

    Generate training data dialog
  8. Click Create record.

    Pega GenAI uses the sample data to generate five similar training records and displays the records for your review. You can see the classification details in the right pane.

    training record
     

    In the NLP analysis section, the Language model, Topic, and any entities present are displayed on the bottom tile. The training data text is displayed in the upper tile, where any entities detected are highlighted.

  9. Under the Language list, click Select all to select all the records, and then click Mark reviewed to add the records to the queue.
    list of training records
     
  10. To the right of Add records, click the More icon, and then select Build Model to rebuild the natural language processing (NLP) model.
    Build model menu item

    If the model build is successful, a message that shows the new F-Score is displayed at the top.
    CH35681-1-EN-success status
  11. Click Save.


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

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 Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice