def render_auto_complete_view(self, ctx, values, inputs):
        """
        Renders an auto-complete view as a more compact/efficient input option when,
        - There are too many distinct values to display and The field is of type string.
        - There are too many distinct saved views to display as checkbox.

        Eventually, if there are selected values, it attempts to render the sample distribution preview graph
        """
        values = values or []

        scenario_type = self.get_scenario_type(ctx.params)
        scenario_type_display = (
            "saved views"
            if scenario_type == "view"
            else (
                "label attributes"
                if scenario_type == "label_attribute"
                else "sample fields"
            )
        )
        component_key, selected_values = self.get_selected_values(ctx.params)

        inputs.list(
            component_key,
            types.String(),
            default=selected_values,
            required=True,
            label="",
            description=(
                f"Select {scenario_type_display} to get started. {len(selected_values)} selected"
            ),
            view=types.AutocompleteView(
                multiple=True,
                choices=[types.Choice(value=v, label=v) for v in values],
                allow_duplicates=False,
                allow_user_input=False,
                invalid=True if not selected_values else False,
                error_message=(
                    "No values selected" if not selected_values else ""
                ),
            ),
        )

        if selected_values:
            self.render_sample_distribution(
                ctx, inputs, scenario_type, selected_values
            )
        else:
            sub = (
                "attribute"
                if scenario_type == ScenarioType.LABEL_ATTRIBUTE
                else (
                    "field"
                    if scenario_type == ScenarioType.SAMPLE_FIELD
                    else "saved view"
                )
            )
            self.render_empty_sample_distribution(
                inputs,
                ctx.params,
                description=f"Select a {sub} to view sample distribution",
            )

        Renders an auto-complete view as a more compact/efficient input option when,
        - There are too many distinct values to display and The field is of type string.
        - There are too many distinct saved views to display as checkbox.

        Eventually, if there are selected values, it attempts to render the sample distribution preview graph
        
plugins/operators/model_evaluation/__init__.py