When you simulate a conversation for Pega Intelligent Virtual Assistant (IVA) in the
preview console, you can check that the system is detecting the correct subject matter by
correcting and accepting the detected topic. Accepting a detected topic ensures that the
system knows how to respond, for example, by opening the relevant business case in your
application.
-
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.
-
In the preview console in the right panel, type in a typical user
request.
For example: For a car insurance quote, enter: I would like to request a car
insurance quote.
Result: The preview console displays an associated topic below the entered text,
which is the subject matter detected by the IVA. If the IVA did not detect a
topic, the system displays Define topic link
instead.
-
Correct a topic in the preview console by performing one of the following
actions:
Choices |
Actions |
If no topic was found |
- Click Define topic below the entered
text.
- In the Topic field, press the Down arrow
key, and then select the correct topic, for example:
insurance quote.
- In the field below the topic name, enter a sample of user input
to associate with the topic, for example: How can I
get a car quote?
- Optional: To add additional sample phrases to
associate with the topic, click Add
example, and then in the field below, enter the
text.
- Click Submit.
|
If the wrong topic was found |
- Click the topic name located below the entered text, for
example: #new hire.
- In the Topic field, press the Down arrow
key, and then select the correct topic, for example:
insurance quote.
- In the field below the topic name, enter a sample of user input
to associate with the topic, for example: How can I
get a car quote?
- Optional: To add additional sample phrases to
associate with the topic, click Add
example, and then in the field below, enter the
text.
- Click Submit.
|
-
Click the Like icon next to the topic name located below
the entered text.
Clicking this icon is important in the IVA training process, and improves the
correct detection of topics.
-
Click Save.
What to do next: Ensure that the IVA learns from the corrected topics by building the text analytics
model. For more information, see Applying simulation changes to a text analytics model.