Skip to main content

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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Intent analysis and filtering

Updated on August 23, 2018

The Pega 7 Platform adds intent analysis to its Text Analytics functionality. Through intent detection, you can determine a writer's intent (in posts, comments, messages, and so on) and determine whether the writer is likely to subscribe to your services or buy your products. The intent analysis can also help you prevent churn by reacting to customers who complain or express dissatisfaction about your offerings.

The intent analysis is available only for English language content.

The Pega 7 Platform includes the default pzDefaultIntentModel rule, which detects the following intent types:

  • I canceled my service in April but continue to get bills.
  • Please cancel the contract as soon as you can.
directconfirmation, yes
  • It's been resolved on my end. Thx.
  • I've reordered and have confirmation.
directconfirmation, no
  • No thanks, the deposit & the required payments are done now.
  • I refused because I will be out of town from Thursday till Monday.
  • I told him I wanted to speak to his manager.
  • In uPlusTelco, the staff & the manager are to help with any type of problem.
  • Hello, sir!
  • Thanks & Regards
  • Requested the team to switch back to that plan.
  • I want to switch to another plan which is 1099 rental with 1mbps speed and unlimited download.
  • I am very sorry that the package was not delivered on time.
  • Let me apologize for the inconvenience.
  • Much better and easier communication than with the old provider!
  • uPlusTelco's phones are cheaper and more functional than their competitors'.
  • There's been no response so far!
  • I just filed my complaint.
  • Thanks for your help!
  • Best customer support ever.
  • A bank is a place that looks after people's money and keeps it safe.
  • A budget is a plan on how you will spend the money you earn.
  • I'll move over to another provider.
  • We switched back to uPlusTelco yesterday.
  • Why didn't he like the bank?
  • Phishy emails from uPlusTelco?
  • I bought a brand new laptop and it's working great!
  • I can change my plan to online on their website.
  • Poor service uPlusTelco and poor and cheap selling methods
  • Besides that they are selling their data packs at such high rates!
  • Two incidents I would like to inform you about:
  • I hope this happens only occasionally.

Use cases

Intent detection can be demonstrated in scenarios for chatbot applications:

Scenario 1: Case creation

Case creation based on detected entities and user intention

Case creation based on the detected entities and user intention

In this scenario, based on the text input, the text analyzer that is used by the chatbot can detect all of the information that is required to create a case for booking a flight.

Scenario 2: Incomplete request

Incomplete request that requires more information

Incomplete request that requires further inquiry

If the information that is provided in the input text is insufficient, for example, if the flight destination is not provided, the chatbot might request that the user provide the missing details for booking a flight.

Scenario 3: Escalation to human operator

Escalation to human operator

Escalation to a human operator

In situations in which the user is unable to get assistance, or is annoyed or irritated, the chatbot can escalate and transfer the conversation to a human operator.

For more information, see Intent analysis.

Expression for filtering intent types

You can configure a data flow to filter text analysis content (posts, comments, messages, and so on) based on the detected intent. For example, you can create a data flow that filters out records that the text analyzer associated with the churn intent type. This type of data flow must contain a Filter shape in which the following expression is defined:

.pyOutcome.pyIntents(1).pyName = "outbound > churn"

The text analyzer can detect multiple intent types that characterize the analyzed content. The pyIntents property must be associated with a subscript value (n), where n is the position in the sequence of detected intents. The detected intents are ordered by their confidence score, starting with the highest score.
  • Previous topic Analyzing the text-based content posted on social media in Pega 7.2.2
  • Next topic Improving predictions dynamically with adaptive models

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. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us