From 01129032a50b1e548cf5f773d2ea55dfa5d53a48 Mon Sep 17 00:00:00 2001 From: Alex Arvanitidis Date: Wed, 16 Oct 2024 14:33:26 +0300 Subject: [PATCH] fix: jaqpot metadata property name --- src/handlers/predict_sklearn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/predict_sklearn.py b/src/handlers/predict_sklearn.py index 71a918a..7f7728c 100644 --- a/src/handlers/predict_sklearn.py +++ b/src/handlers/predict_sklearn.py @@ -31,7 +31,7 @@ def sklearn_post_handler(request: PredictionRequestPydantic): else prediction[jaqpot_row_id, i] for i, feature in enumerate(request.model["dependentFeatures"]) } - results["jaqpotInternalMetadata"] = { + results["jaqpotMetadata"] = { "AD": None, "probabilities": probabilities[jaqpot_row_id], "jaqpotRowId": jaqpot_row_id