def generate_ddl_create_tag(tag_name: str, properties: Dict[str, Any]) -> str:
    """
    Generate the DDL to create a NebulaGraph tag.

    Parameters
    ----------
    tag_name (str): The name of the tag.
    properties (dict): The properties of the tag.

    Returns
    -------
    str: The DDL string.

    """
    # infer properties type in NebulaGraph DDL
    property_type_map = deduce_property_types_from_values(properties)

    # generate DDL
    ddl_parts = [f"CREATE TAG `{tag_name}` ("]
    prop_definitions = []
    for prop, dtype in property_type_map.items():
        prop_definition = f"`{prop}` {dtype} NULL"
        prop_definitions.append(prop_definition)
    ddl_parts.append(", ".join(prop_definitions))
    ddl_parts.append(");")
    return " ".join(ddl_parts)

    Generate the DDL to create a NebulaGraph tag.

    Parameters
    ----------
    tag_name (str): The name of the tag.
    properties (dict): The properties of the tag.

    Returns
    -------
    str: The DDL string.

    
llama-index-integrations/graph_stores/llama-index-graph-stores-nebula/llama_index/graph_stores/nebula/utils.py