graph TD
A[ComplianceCheckerBot Start] --> B[Input: extracted-product-details]
subgraph Task_1[LLM Policy Violation Scanner]
B --> C[Parse Title]
B --> D[Parse Bullets]
B --> E[Parse Description]
C & D & E --> F[Generate suspicious-terms-list]
end
subgraph Task_2[Trademark Database Verification]
F --> G[Query USPTO API]
G --> H[Process Each Term]
H --> I[Generate verified-trademark-terms]
end
subgraph Task_3[Compliant Text Rewriter]
I --> J[Remove Trademark Terms]
J --> K[Apply Policy Guidelines]
K --> L[Rewrite Content]
L --> M[Generate Final Keywords]
end
M --> N[Output: compliant-text-and-keywords]
N --> O[ComplianceCheckerBot End]
style Task_1 fill:#f9f,stroke:#333,stroke-width:2px
style Task_2 fill:#bbf,stroke:#333,stroke-width:2px
style Task_3 fill:#bfb,stroke:#333,stroke-width:2px