diff --git a/app/api/dexi.py b/app/api/dexi.py index 38f2c9f6f7f4db3bee639126d1a8f7461ee7bb82..892f201f32181d32fe2eaccbe00faabe4db997e0 100644 --- a/app/api/dexi.py +++ b/app/api/dexi.py @@ -184,7 +184,7 @@ def create_recommendation_text(kpi, amount_changed, caused_by, step_size): return "" if 'co2' in caused_by.replace(' ', '').lower() and 'co2' in kpi.replace(' ', '').lower(): return "" - return f'In order to improve the KPI of {kpi} by {int(amount_changed)*10}%, {caused_by} should be improved by {step_size*10}%.\n' + return f'In order to change the KPI of {kpi} by {int(amount_changed)*10}%, {caused_by} should be improved by {step_size*10}%.\n' @app.route("/dss/get_specific_recommendation", methods=["GET"])