Skip to main content


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

Correcting training data in an IVA

Updated on July 22, 2021

Improve the artificial intelligence of Pega Intelligent Virtual Assistant™ (IVA) and teach the system to more accurately respond during chat conversations by correcting the IVA training data and rebuilding the text analytics model. When the IVA correctly detects the subject matter (topic) and additional key information (entities) in a conversation, the system can then escalate the reported issue, start a related business case and ask the user for more information.

For example, after identifying the relevant topic and entities in a message, an IVA detects a request for a bank loan. The system then automatically creates a car loan business case and asks the user follow-up questions about their personal information, income, and financial history.
Before you begin: Enable recording of training data. For more information, see Enabling training data recording for an IVA.

When you enable the recording of training data and the IVA begins a conversation with a user, the system saves each chat message as a training record. You can also manually create a training record that contains information from sample conversations with users. Once you correct the data detected in the training record, you mark the record as reviewed. The system then uses the reviewed training data when you rebuild the improved text analytics model.

  1. In the navigation pane of App Studio, click Channels.
  2. In the Current channel interfaces section, click the icon that represents your existing Unified Messaging or Web Chatbot channel.
  3. In the channel, click the Training data tab.
  4. In the list of training records, select a data record.
    Result: The Review training data section displays the detected entities, and the NLP analysis section displays the detected topic and entity types for the training data record.
  5. To correct the training data for the IVA, perform one of the following actions:
    ChoicesAction
    Create a new entity
    1. 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.
    2. In the Create new entity window, in the Entity name field, enter a name for the entity.
    3. Click Submit.
    Correct a detected entity
    1. In the Review training data section, in the data record content, highlight and right-click the text for an existing entity.
    2. Select the name of another entity.
    Correct a detected topic
    1. In the Topic field in the NLP analysis section, press the Down arrow key.
    2. Select a more appropriate topic for the training record.
    Edit a data record
    1. In the Review training data section, click the More icon, and then click Edit.
    2. In the Update text window, edit the text for the training record.

      For example, remove any trailing white spaces or correct spelling mistakes in the text. For more information, see Best practices for cleaning up training data in an IVA.

    3. Click OK.
  6. Optional: To use this training record to improve the artificial intelligence of the IVA, in the Review training data section, click Mark reviewed.
  7. Correct additional records for the IVA by repeating steps 4 through 6.
    For example: The following figure shows the updated entities for a training record that describes a bank loan request with the customer name, home address, and email address:
    Updated entities for a training record for an IVA
    A list of updated entities for a sample training record for an IVA channel.
  8. Click Save.
What to do next: Teach the IVA 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 IVA.

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