{value.label}
{#if typeof value === "object" && value.confidences} {#each value.confidences as confidence_set, i}
{ dispatch("select", { index: i, value: confidence_set.label }); }} >
{confidence_set.label}
{Math.round(confidence_set.confidence * 100)}%
{/each} {/if}