def METHOD_NAME(field: TemplateField, name: str):
    if "VertexAI" in name:
        advanced_fields = [
            "tuned_model_name",
            "verbose",
            "top_p",
            "top_k",
            "max_output_tokens",
        ]
        if field.name in advanced_fields:
            field.advanced = True
        show_fields = [
            "tuned_model_name",
            "verbose",
            "project",
            "location",
            "credentials",
            "max_output_tokens",
            "model_name",
            "temperature",
            "top_p",
            "top_k",
        ]
        if field.name in show_fields:
            field.show = True