Group Same Documents
🤖 AI Drafted (Not reviewed)
Score the selected files together, group duplicate or variant forms of the same underlying document, then organize duplicate clusters into subfolders through the audited action registry.
| Folder | /Organize |
| Steps | 3 |
| Tags | preset, organize, cluster, reviewable |
Steps, in run order
1. Files
Tool: Files — Pass through input files from workflow context
2. Group Same Documents
Tool: Similarity — Score image similarity
Settings this step uses:
| Option | Value |
|---|---|
max_image_dimension |
1024 |
What this step asks the model:
Compare these images and score their similarity.
Score each aspect as a percentage (0-100, where 100 = identical)
Score these aspects: content, composition, color, style
Also provide an overall similarity score.
Also group images that are the same underlying document (duplicates, alternate scans,
alternate photos, near-identical variants). Consider both visual appearance and visible
text content. Every image must appear in exactly one same-document cluster.
Return as JSON:
{
"overall_similarity": <score>,
"aspect_scores": [
{"aspect": "<aspect>", "score": <score>}
],
"most_similar": "<which aspect is most similar>",
"most_different": "<which aspect is most different>",
"notes": "<brief explanation of key differences>",
"same_document_clusters": [
{
"cluster_id": "cluster-1",
"member_indexes": [0, 1],
"similarity_score": 0.98
}
]
}
In same_document_clusters, similarity_score is a fraction between 0 and 1
(NOT a percentage), regardless of the aspect score scale above.
Return ONLY valid JSON.
3. Organize Clusters
Tool: Organize Same Documents — Create one subfolder per duplicate cluster and move members into it via the audited action registry