The SageMaker Clarify processing job deserializes the entire payload as JSON. It then extracts predictions from the deserialized data using JMESPath expressions provided in the analysis configuration. The records in the response payload must match the records in the request payload.
The following table is an example response from an endpoint that
only outputs the mean prediction value. The value of forecast
used
in the predictor
field in the analysis
config should be provided as a
JMESPath expression to find the prediction result for the processing job.
Endpoint request payload | Endpoint response payload (string representation) | JMESPath expression for forecast in the analysis config |
---|---|---|
Single record example. Config should be |
|
|
Multiple records. An AWS deepAR endpoint response. |
|
|