def METHOD_NAME(
        self, create_rai_insights_object_regression_with_model,
        create_rai_insights_object_regression_with_predictions,
        with_model, filters):
    if with_model:
        ri = create_rai_insights_object_regression_with_model
    else:
        ri = create_rai_insights_object_regression_with_predictions
    dashboard_input = ResponsibleAIDashboardInput(ri)
    id = ri.causal.get()[0].id
    post_data = [id, filters, []]
    flask_server_prediction_output = \
        dashboard_input.get_global_causal_policy(
            post_data)
    self.check_success_criteria(flask_server_prediction_output)