Table of Contents

Creating entities for an IVA


Only available versions of this content are shown in the dropdown

Ensure that Pega Intelligent Virtual Assistant (IVA) detects the correct information in chat sessions by creating entities. Entities enable the IVA to extract pieces of data from within a chat message, such as a location, date, or postal code. For example, if you want the system to detect vehicle makes in user input, you can create the CarMake entity. At run time, your IVA then uses the detected information and maps it to case type properties, to provide the correct response to user requests and save time for the users handing the case.

For the IVA to respond to user input by creating a case and asking questions, add a conversation to a case type in your application. For more information, see Adding a conversation to a case type .
  1. In the header of Dev Studio, click the name of the application, and then click Channels and interfaces.

  2. In the Current channel interfaces section, click the icon that represents your existing Alexa, Unified Messaging, or Web Chatbot channel.

  3. In the channel, click the Behavior tab.

  4. At the top of the preview console, turn on the Show analysis switch.

  5. In the preview console, in the right panel input field, enter a sample question.

    For car insurance quote, enter: I would like to request a car insurance quote for my Ford Mustang GT..
    The analysis in the preview console shows the sentiment of the user input (positive, negative, neutral), the detected topic, the confidence in the detected topic (as a percentage), and the detected entities.
  6. In the displayed text for the question that you entered in the previous step, in the create case section, highlight and right-click the text that you want to map to the new entity, and then click New entity.

    To select a car make in the user input, highlight the word Ford.
  7. In the Create new entity window, in the Entity name field, enter a name for the entity, and then click Submit.

    To create an entity for a car make, enter Car Make.
  8. To create more entities for detection in user input, repeat steps 6 through 7.

  9. Click Save.

Make the IVA learn from the created entities by building the text analytics model.

  • Extracting data from a conversation

    You can create and update entities from the preview console of the Pega Intelligent Virtual Assistant (IVA) and then update the text analytics model with this information. You then map the extracted entity values into case properties, creating a richer and more conversational experience for the end user.

  • Simulating a conversation and building a chatbot

    Before moving Pega Intelligent Virtual Assistant (IVA) to a production environment, you can verify whether the chatbot works correctly by using the preview console. You use the preview console to simulate a chatbot conversation and ensure that the IVA knows how to correctly respond to user input. Working in the preview console also improves the text analysis and artificial intelligence of the IVA channel.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.