Validating detected entities
You can verify that Pega Intelligent Virtual Assistant (IVA) detects the correct entities from your input in the preview console, by validating the detected entities. Validating the entities ensures that the right information is saved by the system for a business case. Correctly detected entities in the IVA can also later be mapped to business case properties.For example, in the preview console you can validate the word Ford, to ensure that it is mapped to the CarMake entity, and that it relate to a Car Insurance business case.
In the header of Dev Studio, click the name of the application, and then click Channels and interfaces.
In the Current channel interfaces section, click the icon that represents your existing Alexa, Unified Messaging, or Web Chatbot channel.
In the channel, click the Behavior tab.
At the top of the preview console, turn on the Show analysis switch.When you enter sample text in the preview console, the analysis shows the topic detected and the system's confidence in the correctness of the detected topic, as a percentage.
In the preview console in the right panel, type in a typical user phrase that starts a business case.To request a car insurance quote, enter: I would like to request a car insurance quote for my Ford Mustang GT.The preview console displays the detected topic below the text that you enter, and starts the associated business case in the IVA.
In the preview console, to validate the detected entities perform one of the following actions:
Choices Actions If no entity was found
- In the text section below the detected sentiment, highlight and right-click the text that you want to map to the new entity.
- Click New entity.
For example, to select a car make in the text, highlight the word Ford.
- In the Create new entity window, in the
Entity name field, enter a name for
the entity, and then click Submit.
For example, to create an entity for a car make, enter CarMake.
If the wrong entity was found
- In the text section below the detected sentiment, highlight and right-click the text for an existing entity.
- Click the name of another entity.
For example, to make sure the car make in the text maps to the CarMake entity, highlight and right-click Ford, and then click #CarMake.
- Verifying chatbot responses
To ensure that Pega Intelligent Virtual Assistant (IVA) responds correctly to user requests during a chat session, you can first simulate conversations with the chatbot and then verify the responses in the preview console for a conversational channel. As a result, the system becomes more responsive and improves its text analysis and artificial intelligence.
- 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.