from typing import Dict
from typing import Any


def get_image_id_from_data(data: Dict[str, Any], data_ix: int, rno: int) -> str:
    """
    Defines a unique image id for a given VQ data point.
    """
    clip_uid = data["clip_uid"]
    qset = data["query_set"]
    return f"clip-uid_{clip_uid}_idx_{data_ix}_query-set_{qset}_response-idx_{rno}"