def get_saved_view_scenarios_picker_type(self, ctx):
        """
        Returns the view mode for saved views based on the number of available saved views.
        """
        view_names = ctx.dataset.list_saved_views()
        if not view_names:
            return ShowOptionsMethod.EMPTY, []

        view_names = sorted(view_names)
        view_len = len(view_names)

        if view_len > MAX_CATEGORIES:
            return ShowOptionsMethod.AUTOCOMPLETE, view_names

        return ShowOptionsMethod.CHECKBOX, view_names

        Returns the view mode for saved views based on the number of available saved views.
        
plugins/operators/model_evaluation/__init__.py