Question

Adqura
IN
Last activity: 10 Jul 2025 8:59 EDT
External SageMaker Model Propensity Not Displaying in Prediction Studio Propensity Tab
Category: Pega AI/Machine Learning Services
Question:
Hello Pega Community,
I'm facing an issue with an external AWS SageMaker model integration in Pega Prediction Studio where the model response contains the propensity value, but it's not displaying in the Propensity tab.
Current Situation:
- Successfully created an external model in Prediction Studio
- Model calls SageMaker endpoint and receives responses correctly
- Full response displays in the "Result" tab but Propensity tab shows "——" (empty)
SageMaker Response Format:
jsonCopy
{ "pyPropensity": 0.24374601781192465, "probability": 0.24374601781192465, "risk_level": "LOW", "recommendation": "Standard engagement", "predictions": [0.24374601781192465] }
What I've Observed:
Category: Pega AI/Machine Learning Services
Question:
Hello Pega Community,
I'm facing an issue with an external AWS SageMaker model integration in Pega Prediction Studio where the model response contains the propensity value, but it's not displaying in the Propensity tab.
Current Situation:
- Successfully created an external model in Prediction Studio
- Model calls SageMaker endpoint and receives responses correctly
- Full response displays in the "Result" tab but Propensity tab shows "——" (empty)
SageMaker Response Format:
jsonCopy
{ "pyPropensity": 0.24374601781192465, "probability": 0.24374601781192465, "risk_level": "LOW", "recommendation": "Standard engagement", "predictions": [0.24374601781192465] }
What I've Observed:
- The response is stored in
.pyModelRunResult
property - The Propensity tab UI element has
data-ui-meta
withclipboardPath':'.pyPropensity'
- HTML inspection shows the tab expects
.pyPropensity
property to be populated - No automatic field mapping occurs from external model response to
.pyPropensity
What I've Tried:
- Metadata Template Configuration - Added response mapping but no effect
- SageMaker Response Modification - Tried different field names (pyPropensity, propensity, Propensity)
- Data Transform Creation - Couldn't find where to apply response data transforms for external models
- Model Configuration Search - No visible post-processing or field mapping options
Questions:
- How should external model responses be mapped to the
.pyPropensity
property in Prediction Studio? - Is there a standard configuration for field mapping in external models that I'm missing?
- What's the recommended approach to extract propensity from external model JSON responses?
- Are there any specific settings or configurations for external models that differ from built-in Pega models?
Any guidance on the standard approach for this integration would be greatly appreciated!