Skip to main content


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

Adding a text analyzer for an IVA

Updated on March 3, 2022

To provide better responses by Pega Intelligent Virtual Assistant™ (IVA), you can configure one or more advanced text analyzers together for an application. In that case, the text analyzers examine user input one by one, until the system finds a response.

You can also configure one text analyzer to run only within the case context, and another one to run outside of the case context. For example, to refine interaction with a user once a case is started in the IVA, you can specify the iNLP advanced text analyzer to improve the text analysis of user input, while using the simple exact match text analyzer when the system does note start a case during a chat session.

Note: The system uses natural language processing (NLP) and adaptive analytics text analysis to detect topics and entities in the interaction conversation.
Design Patterns: To learn more about troubleshooting natural language processing (NLP) issues in your chatbots, see also Troubleshooting NLP.
  1. In the navigation pane of App Studio, click Channels.
  2. In the Current channel interfaces section, click the icon for your existing Unified Messaging, Web Chatbot, or Alexa channel.
  3. In the channel, click the Behavior tab.
  4. In the Text Analyzer section, select the Use advanced configuration check box.
  5. In the Text Analyzer section, select a method for configuring a text analyzer:
    • To create a text analyzer, click Add text analyzer.
    • To edit an existing text analyzer, click the Switch to edit mode icon next to the text analyzer that you want to edit.
  6. In the Text Analyzer type list, select and configure a text analyzer:
    ChoicesActions
    Exact matchConfigure the default text analyzer that exactly matches user input to a response.

    Select whether to use text analyzer within the case context, outside of the case context, or both.

    Pega NLPConfigure an advanced text analyzer that uses the best approximate match by using advanced natural language processing (NLP) and artificial intelligence:
    1. Select or define a text analyzer rule for this definition type with the sentiment, classification, topic, and entity extraction analysis.
    2. Select whether you want to detect entities or topics within the case context, outside of the case context, or both.
    3. To ensure that the chatbot engages users in casual conversations, select the Enable small talk check box.
    4. In the Text analyzer rule field, create or select a text analyzer rule.
    5. To modify the text analyzer rule settings, click Open text analyzer in Dev Studio, make changes, and then in the lower-left of the page click Back to Pega App Studio.

      The option to modify the text analyzer rule is only available if you have access to Dev Studio.

    iNLPConfigure an advanced intelligent NLP text analyzer that uses adaptive analytics text analysis:
    1. Select whether you want to detect entities or topics within the case context, outside of the case context, or both.
    2. To ensure that the chatbot engages users in casual conversations, select the Enable small talk check box.
    3. To modify the text analyzer rule settings, click Open text analyzer in Dev Studio, make changes, and then in the lower-left of the page click Back to Pega App Studio.

      The option to modify the text analyzer rule is only available if you have access to Dev Studio.

    This type of analysis integrates text analytics with strategies, propositions, and interaction history to provide the context for making better next-best-action decisions. For more information, see Customizable Interaction API for text analytics.

  7. Click Submit.
    For example: The following figure shows the advanced configuration section for the iNLP text analyzer for a chatbot:
    The advanced text analyzer configuration section for an IVA
    The advanced configuration section for the iNLP text analyzer, set up for an IVA channel.
  8. Optional: To add or configure more text analyzers for the IVA, repeat steps 5 through 7.
  9. Click Save.
What to do next: Define the topics for text analysis in the IVA. For more information, see Defining topics for text analysis for an IVA.
  • Previous topic Defining response commands for a conversational channel
  • Next topic Defining topics for text analysis 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