graph TD A[Start: Receive Input JSON] --> B[Combine/Merge JSONs] B --> C{Multiple JSONs?} C -->|Yes| D[Merge into Single JSON] C -->|No| E[Use Original JSON] D --> F[LLM Process - Remove Duplicates] E --> F F --> G[Parse and Clean JSON] G --> H{Need Sorting?} H -->|Yes| I[LLM Process - Sort Results] H -->|No| J[Skip Sorting] I --> K[Final JSON Assembly] J --> K K --> L[Return Refined JSON] subgraph Silo1[JSON Combination & Deduplication] B C D E F G end subgraph Silo2[Optional Sorting] H I J end subgraph Silo3[Output] K L end