← catalog / AI Map Reduce over Big Data / Feature extraction for predictive modeling
Convert an account's written interaction history into six calibrated features for a downstream churn model, and pick a retention play.
6 questions, declared once. Jev and Laya accept this shape directly; the Claude path renders it into a prompt and a JSON schema.
{
"dissatisfaction": {
"type": "score",
"instructions": "How dissatisfied is this account, judged across the whole interaction history?",
"criteria": [
"Consistently positive about the product",
"Neutral; transactional interactions only",
"Recurring complaints about the same unresolved thing",
"Openly regretful about having bought it"
]
},
"unmet_need": {
"type": "noul",
"instructions": "Is there a capability the account needs that the product does not provide?",
"criteria": {
"true": "A specific missing capability is named more than once",
"false": "No unmet capability is raised"
}
},
"champion_departed": {
"type": "noul",
"instructions": "Has the person who originally championed the product left the account?",
"criteria": {
"true": "The original buyer or advocate is described as gone or reassigned",
"false": "The original champion is still involved"
}
},
"usage_decline_mentioned": {
"type": "noul",
"instructions": "Does the history mention teams reducing or stopping their use?",
"criteria": {
"true": "Describes teams migrating away, seats going unused, or workflows moving off",
"false": "No reduction in use described"
}
},
"competitor_evaluation": {
"type": "noul",
"instructions": "Is the account actively evaluating an alternative?",
"criteria": {
"true": "Names an alternative under trial, review, or procurement",
"false": "No alternative under evaluation"
}
},
"renewal_language": {
"type": "score",
"instructions": "How positively does the account talk about renewing?",
"criteria": [
"Says they will not renew",
"Renewal is in doubt or under review",
"Renewal is assumed but unexcited",
"Actively wants to expand"
]
}
}Derived from the questions above, so every backend is asked the same thing.