package at.procon.dip.clustering.dto;

import java.util.List;
import java.util.UUID;

public record PythonClusteringResponse(
        List<PythonCluster> clusters,
        List<PythonAssignment> assignments,
        Long noiseCount
) {
    public record PythonCluster(
            Integer clusterLabel,
            Long itemCount,
            Boolean noiseCluster
    ) {
    }

    public record PythonAssignment(
            UUID embeddingId,
            UUID documentId,
            UUID representationId,
            Integer clusterLabel,
            Double distanceToCentroid,
            Double membershipScore,
            Boolean noise
    ) {
    }
}
