Procházet zdrojové kódy

result api created

Student Yadav před 3 měsíci
rodič
revize
cced6567fc
3 změnil soubory, kde provedl 2823 přidání a 0 odebrání
  1. 2797 0
      core/results/rr_content_card.json
  2. 4 0
      core/urls.py
  3. 22 0
      core/views.py

+ 2797 - 0
core/results/rr_content_card.json

@@ -0,0 +1,2797 @@
+[
+    {
+        "sku": "SDR-FAS-482709",
+        "title": "Blue Vanilla Blue Puff Sleeve Shirred Panel Dress",
+        "description": "Flaunt your figure in this shirred waist dress, boasting puff sleeves and a cute square neckline",
+        "image_path": "images/fashion-002.jpg",
+        "final_score": 85.66,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 75,
+            "missing_values": 75,
+            "consistency": 75,
+            "seo_discoverability": 55.92,
+            "content_rules_compliance": 89.15,
+            "title_quality": 89.12,
+            "description_quality": 69.25,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": null
+        },
+        "image_score": null,
+        "image_breakdown": {},
+        "image_metadata": {},
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "available_count": 6,
+                    "missing_elements": [
+                        "Gender"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": null
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "values_used": [
+                        "Blue Vanilla",
+                        "Dress",
+                        "Puff Sleeve Shirred",
+                        "Cotton Blend",
+                        "M",
+                        "Blue"
+                    ],
+                    "element_count": 6,
+                    "construction_logic": "The title was built by following the specified order for CLOTHING/DRESSES: Brand → Product Type → Key Feature → Material → Size → Color. 'Blue Vanilla' is the Brand. 'Dress' was extracted as the specific Product Type from the original title. 'Puff Sleeve Shirred' was used as the Key Feature from the original title and description. 'Cotton Blend' is the Material. 'M' is the Size. 'Blue' is the Color. All elements are sourced directly from the available data inventory or the original product title/description as per rules."
+                },
+                "improved_title": "Blue Vanilla Dress Puff Sleeve Shirred Cotton Blend M Blue",
+                "improved_description": "This Blue Vanilla dress is designed to flatter your figure with its elegant shirred waist panel, creating a defined silhouette. It boasts charming puff sleeves and a stylish square neckline, adding a touch of sophistication. Crafted from a comfortable cotton blend material, this blue dress in size M offers both style and comfort for various occasions. The unique combination of shirred detailing and puff sleeves makes it a standout piece, ensuring a fashionable and flattering fit.",
+                "seo_keywords": [
+                    "Blue Vanilla dress",
+                    "Puff Sleeve dress",
+                    "Shirred dress",
+                    "Cotton Blend dress",
+                    "Blue dress M",
+                    "Blue Vanilla Puff Sleeve",
+                    "Shirred Cotton Blend dress"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "gender": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "material: 'Cotton Blend' not recognized. Valid: Cotton, Polyester, Denim",
+                        "suggestion": "Update material attribute to a recognized valid value like 'Cotton' or 'Polyester' if applicable, or add 'Cotton Blend' to valid material list. Current data does not allow for correction.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "'size' suspiciously short: 'M'",
+                        "suggestion": "Ensure size 'M' is a complete and valid representation for the product. No change needed based on available data.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "'Material': 'Cotton Blend' not mentioned in title/description",
+                        "suggestion": "Included 'Cotton Blend' in the improved title and description.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "Rewrote title to be clear, concise, and free of spam-like patterns, using structured elements from available data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Too short (96 chars, minimum 100)",
+                        "suggestion": "Expanded description to meet minimum character length (100 chars) by adding more details from available product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Too few words (16 words, minimum 20)",
+                        "suggestion": "Expanded description to meet minimum word count (20 words) by adding more details from available product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Must contain at least one of: material, fit, style, occasion",
+                        "suggestion": "Ensured description includes material ('Cotton Blend') and implies fit ('flatter your figure', 'shirred waist').",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+                        "suggestion": "Elaborated on features (puff sleeves, shirred panel, square neckline), benefits (flattering figure, comfort), and potential use cases (versatile addition).",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Lacks proper sentence structure",
+                        "suggestion": "Rewrote description using complete sentences and proper prose.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Key attribute 'size: M' not mentioned in title/description",
+                        "suggestion": "Included 'M' in the improved title and description.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Key attribute 'material: Cotton Blend' not mentioned in title/description",
+                        "suggestion": "Included 'Cotton Blend' in the improved title and description.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Description too short (16 words, recommended 50+)",
+                        "suggestion": "Expanded description to over 50 words for better SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No descriptive/quality adjectives found",
+                        "suggestion": "Incorporated descriptive adjectives like 'elegant', 'stylish', 'comfortable', 'flattering' based on product characteristics.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+                        "suggestion": "Rewrote description using complete sentences and prose for improved readability and SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    }
+                ],
+                "quality_score_prediction": 92.1,
+                "summary": "The product data has been significantly improved by constructing a comprehensive title using all available key attributes and expanding the description to meet length and content requirements. Key features like 'Puff Sleeve' and 'Shirred' along with material, size, and color are now prominently featured in both the title and description. Data limitations include the absence of gender information and the material 'Cotton Blend' not being recognized by the system, which requires external data validation.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {}
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": []
+            },
+            "description": {
+                "issues": [
+                    "Too short (96 chars, minimum 100)",
+                    "Too few words (16 words, minimum 20)",
+                    "Must contain at least one of: material, fit, style, occasion",
+                    "Incomplete (missing: features, benefits, specifications, use_case)",
+                    "Lacks proper sentence structure"
+                ],
+                "suggestions": [
+                    "Expand description to 50-150 words for better SEO",
+                    "Expand Description to at least 100 characters",
+                    "Expand Description to at least 20 words with more details",
+                    "Add one of these keywords to Description: material, fit, style",
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Key attribute 'size: M' not mentioned in title/description",
+                    "Key attribute 'material: Cotton Blend' not mentioned in title/description",
+                    "Description too short (16 words, recommended 50+)",
+                    "No descriptive/quality adjectives found",
+                    "Description lacks complete sentences (use prose, not just bullet points)",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')"
+                ],
+                "suggestions": [
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "No image provided"
+                ],
+                "suggestions": [
+                    "Upload product image"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "material: 'Cotton Blend' not recognized. Valid: Cotton, Polyester, Denim",
+                    "'size' suspiciously short: 'M'",
+                    "'Material': 'Cotton Blend' not mentioned in title/description"
+                ],
+                "suggestions": [
+                    "Change material to one of: Cotton, Polyester, Denim",
+                    "Provide more detailed size",
+                    "Add 'size: M' to title or first line of description",
+                    "Add 'material: Cotton Blend' to title or first line of description",
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Write 2-3 complete sentences describing the product",
+                    "Consider expanding title to 50-100 characters for better SEO",
+                    "Remove spam indicators, use professional language",
+                    "Write in complete sentences, not just bullet points"
+                ]
+            }
+        },
+        "issues": [
+            "material: 'Cotton Blend' not recognized. Valid: Cotton, Polyester, Denim",
+            "'size' suspiciously short: 'M'",
+            "'Material': 'Cotton Blend' not mentioned in title/description",
+            "SEO: Key attribute 'size: M' not mentioned in title/description",
+            "SEO: Key attribute 'material: Cotton Blend' not mentioned in title/description",
+            "SEO: Description too short (16 words, recommended 50+)",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "Description: Too short (96 chars, minimum 100)",
+            "Description: Too few words (16 words, minimum 20)",
+            "Description: Must contain at least one of: material, fit, style, occasion",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "Description: Lacks proper sentence structure",
+            "No image provided"
+        ],
+        "suggestions": [
+            "Change material to one of: Cotton, Polyester, Denim",
+            "Provide more detailed size",
+            "Add 'size: M' to title or first line of description",
+            "Add 'material: Cotton Blend' to title or first line of description",
+            "Expand description to 50-150 words for better SEO",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Write 2-3 complete sentences describing the product",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Expand Description to at least 100 characters",
+            "Expand Description to at least 20 words with more details",
+            "Add one of these keywords to Description: material, fit, style",
+            "Consider expanding title to 50-100 characters for better SEO",
+            "Remove spam indicators, use professional language",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Write in complete sentences, not just bullet points",
+            "Upload product image"
+        ],
+        "processing_time": 48.84,
+        "product_type": "Fashion"
+    },
+    {
+        "sku": "CLTH-001",
+        "title": "Nike Running T-Shirt Blue Medium",
+        "description": "Lightweight Nike running shirt.",
+        "image_path": "images/CLTH-001.jpg",
+        "final_score": 85.55,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 100,
+            "missing_values": 0,
+            "consistency": 75,
+            "seo_discoverability": 65.5,
+            "content_rules_compliance": 100,
+            "title_quality": 91.12,
+            "description_quality": 67.75,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": 87.5
+        },
+        "image_score": 87.5,
+        "image_breakdown": {
+            "resolution": 70,
+            "clarity": 100,
+            "background": 90,
+            "size": 80,
+            "format": 100
+        },
+        "image_metadata": {
+            "width": 960,
+            "height": 640,
+            "dpi": [
+                null,
+                null
+            ],
+            "format": "JPG",
+            "mode": "RGB",
+            "file_size_mb": 0.11,
+            "dominant_color_rgb": [
+                252,
+                252,
+                251
+            ],
+            "dominant_color_hex": "#fcfcfb",
+            "dominant_color_name": "snow",
+            "background_coverage": 47.63
+        },
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "available_count": 5,
+                    "missing_elements": [
+                        "Gender",
+                        "Key Feature"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": ""
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "values_used": [
+                        "Nike",
+                        "Clothing",
+                        "Polyester",
+                        "M",
+                        "Blue"
+                    ],
+                    "element_count": 5,
+                    "construction_logic": "Built by ordering available elements: Brand, Product Type, Material, Size, Color, as per CLOTHING category rules and using only values from the 'EXTRACTED DATA INVENTORY'."
+                },
+                "improved_title": "Nike Clothing Polyester M Blue",
+                "improved_description": "This product is a piece of Nike brand clothing. It is constructed from Polyester material, offering a specific textile composition. The item is presented in a distinct Blue color. It is offered in a Medium size, providing a particular fit dimension. This combination of brand, material, color, and size defines this specific clothing article.",
+                "seo_keywords": [
+                    "Nike",
+                    "Clothing",
+                    "Polyester",
+                    "Blue",
+                    "M"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "Gender": "Cannot suggest - no source data available",
+                    "Key Feature": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "'size' suspiciously short: 'M'",
+                        "suggestion": "Consider providing full size name (e.g., 'Medium') if available in external data, otherwise 'M' is acceptable as a standard abbreviation.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "'Material': 'Polyester' not mentioned in title/description",
+                        "suggestion": "Integrate 'Polyester' into the improved title and description to enhance product information.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "Rewrite title to be concise, factual, and free of spam-like patterns, using available product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Incomplete (missing: features, benefits, use_case)",
+                        "suggestion": "Expand description to include features, benefits, and use cases. Note: This requires additional product data not currently available.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Lacks proper sentence structure",
+                        "suggestion": "Rewrite description using complete sentences and prose to improve readability and information flow.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Description too short (4 words, recommended 50+)",
+                        "suggestion": "Expand description to meet recommended length (50-150 words) by elaborating on available product details. Note: Full compliance may require additional product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+                        "suggestion": "Rewrite description using complete sentences and prose for better SEO and readability.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Missing common search term 'brand' for Clothing",
+                        "suggestion": "Include 'Nike' (Brand) in the improved title, description, and SEO keywords.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Missing common search term 'size' for Clothing",
+                        "suggestion": "Include 'M' (Size) in the improved title, description, and SEO keywords.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Missing common search term 'color' for Clothing",
+                        "suggestion": "Include 'Blue' (Color) in the improved title, description, and SEO keywords.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    }
+                ],
+                "quality_score_prediction": 90.3,
+                "summary": "The product title and description have been significantly improved by incorporating all available factual data, including brand, product type, material, size, and color. SEO has been enhanced by ensuring these key terms are present in the title, description, and keywords. However, the description's completeness and length are limited by the absence of detailed feature, benefit, and use-case information in the provided source data.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {
+                "note": "No improvements needed"
+            }
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": []
+            },
+            "description": {
+                "issues": [
+                    "Incomplete (missing: features, benefits, use_case)",
+                    "Lacks proper sentence structure",
+                    "Weak opening sentence"
+                ],
+                "suggestions": [
+                    "Expand description to 50-150 words for better SEO",
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Description too short (4 words, recommended 50+)",
+                    "Description lacks complete sentences (use prose, not just bullet points)",
+                    "Missing common search term 'brand' for Clothing",
+                    "Missing common search term 'size' for Clothing",
+                    "Missing common search term 'color' for Clothing",
+                    "Missing common search term 'material' for Clothing",
+                    "Missing common search term 'fit' for Clothing",
+                    "Missing common search term 'style' for Clothing",
+                    "Missing common search term 'occasion' for Clothing",
+                    "Missing common search term 'care' for Clothing"
+                ],
+                "suggestions": [
+                    "Consider mentioning 'brand' if applicable to improve searchability",
+                    "Consider mentioning 'size' if applicable to improve searchability",
+                    "Consider mentioning 'color' if applicable to improve searchability",
+                    "Consider mentioning 'material' if applicable to improve searchability",
+                    "Consider mentioning 'fit' if applicable to improve searchability",
+                    "Consider mentioning 'style' if applicable to improve searchability",
+                    "Consider mentioning 'occasion' if applicable to improve searchability",
+                    "Consider mentioning 'care' if applicable to improve searchability"
+                ]
+            },
+            "images": {
+                "issues": [],
+                "suggestions": [
+                    "DPI information not available in image, ensure high-quality source",
+                    "Image width acceptable but could be larger (current: 960px)",
+                    "Image aspect ratio unusual (1.50), consider standard format"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "'size' suspiciously short: 'M'",
+                    "'Material': 'Polyester' not mentioned in title/description"
+                ],
+                "suggestions": [
+                    "Provide more detailed size",
+                    "Consider adding more descriptive adjectives for better engagement",
+                    "Write 2-3 complete sentences describing the product",
+                    "Consider adding more value-indicating terms for better positioning",
+                    "Consider expanding title to 50-100 characters for better SEO",
+                    "Remove spam indicators, use professional language",
+                    "Write in complete sentences, not just bullet points",
+                    "Start with a strong, descriptive opening sentence"
+                ]
+            }
+        },
+        "issues": [
+            "'size' suspiciously short: 'M'",
+            "'Material': 'Polyester' not mentioned in title/description",
+            "SEO: Description too short (4 words, recommended 50+)",
+            "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+            "SEO: Missing common search term 'brand' for Clothing",
+            "SEO: Missing common search term 'size' for Clothing",
+            "SEO: Missing common search term 'color' for Clothing",
+            "SEO: Missing common search term 'material' for Clothing",
+            "SEO: Missing common search term 'fit' for Clothing",
+            "SEO: Missing common search term 'style' for Clothing",
+            "SEO: Missing common search term 'occasion' for Clothing",
+            "SEO: Missing common search term 'care' for Clothing",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, use_case)",
+            "Description: Lacks proper sentence structure",
+            "Description: Weak opening sentence"
+        ],
+        "suggestions": [
+            "Provide more detailed size",
+            "Expand description to 50-150 words for better SEO",
+            "Consider adding more descriptive adjectives for better engagement",
+            "Write 2-3 complete sentences describing the product",
+            "Consider mentioning 'brand' if applicable to improve searchability",
+            "Consider mentioning 'size' if applicable to improve searchability",
+            "Consider mentioning 'color' if applicable to improve searchability",
+            "Consider mentioning 'material' if applicable to improve searchability",
+            "Consider mentioning 'fit' if applicable to improve searchability",
+            "Consider mentioning 'style' if applicable to improve searchability",
+            "Consider mentioning 'occasion' if applicable to improve searchability",
+            "Consider mentioning 'care' if applicable to improve searchability",
+            "Consider adding more value-indicating terms for better positioning",
+            "Consider expanding title to 50-100 characters for better SEO",
+            "Remove spam indicators, use professional language",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Write in complete sentences, not just bullet points",
+            "Start with a strong, descriptive opening sentence",
+            "DPI information not available in image, ensure high-quality source",
+            "Image width acceptable but could be larger (current: 960px)",
+            "Image aspect ratio unusual (1.50), consider standard format"
+        ],
+        "processing_time": 55.89,
+        "product_type": "Clothing"
+    },
+    {
+        "sku": "SDR-PRF-684913",
+        "title": "Calvin Klein Euphoria Eau de Parfum for Women 50ml",
+        "description": "One of the world's leading lifestyle brands, Calvin Klein is synonymous with authentic modern minimalist style. Everything it creates —clothing, accessories, home design—becomes a timeless classic. The label's award-winning fragrances are no exception. Calvin Klein's portfolio of bold and iconic scents continues to redefine the world of perfume.*",
+        "image_path": "images/perfume-001.jpg",
+        "final_score": 83.72,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 50,
+            "missing_values": 100,
+            "consistency": 100,
+            "seo_discoverability": 76.62,
+            "content_rules_compliance": 83.75,
+            "title_quality": 83.12,
+            "description_quality": 67.81,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": null
+        },
+        "image_score": null,
+        "image_breakdown": {},
+        "image_metadata": {},
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Gender",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "available_count": 5,
+                    "missing_elements": [
+                        "Material",
+                        "Color"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": ""
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Name",
+                        "Fragrance Type",
+                        "Gender",
+                        "Size"
+                    ],
+                    "values_used": [
+                        "Calvin Klein",
+                        "Euphoria",
+                        "Eau de Parfum",
+                        "Women's",
+                        "50ml"
+                    ],
+                    "element_count": 5,
+                    "construction_logic": "Built using the PERFUME element ordering: Brand, Product Name (extracted from original title), Fragrance Type (from Key Feature), Gender, and Size, all sourced from available ✅ data or original title as per extraction priority rules."
+                },
+                "improved_title": "Calvin Klein Euphoria Eau de Parfum Women's 50ml",
+                "improved_description": "Experience the captivating scent of Calvin Klein Euphoria Eau de Parfum for Women. This 50ml fragrance features a refreshing top note of Pomegranate, which gracefully transitions into a delicate middle note of Orchid. Designed specifically for women, this Eau de Parfum is known for its Long Lasting longevity, ensuring a memorable presence throughout the day. The convenient 50ml size makes it perfect for both daily wear and special occasions, embodying the authentic, modern minimalist style synonymous with the Calvin Klein brand.",
+                "seo_keywords": [
+                    "Calvin Klein Euphoria",
+                    "Eau de Parfum Women",
+                    "50ml perfume",
+                    "Pomegranate Orchid fragrance",
+                    "Calvin Klein perfume for women"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {},
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "top_notes: 'Pomegranate' not recognized. Valid: Citrus, Bergamot, Lavender",
+                        "suggestion": "Update 'top_notes' to a recognized value from the valid list (e.g., Citrus, Bergamot, Lavender) if the product formulation allows, or add 'Pomegranate' to the system's valid list.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "middle_notes: 'Orchid' not recognized. Valid: Jasmine, Musk, Vanilla",
+                        "suggestion": "Update 'middle_notes' to a recognized value from the valid list (e.g., Jasmine, Musk, Vanilla) if the product formulation allows, or add 'Orchid' to the system's valid list.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Must contain at least one of: Short, Moderate, Long Lasting",
+                        "suggestion": "The improved title adheres to the strict rule of using only ✅ available elements. 'Long Lasting' is present in the product attributes but not in the ✅ list for title construction, therefore it cannot be included in the title. It has been incorporated into the improved description.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "The improved title 'Calvin Klein Euphoria Eau de Parfum Women's 50ml' removes any spam-like patterns and adheres to standard capitalization.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Must contain at least one of: Men, Women, Unisex",
+                        "suggestion": "The improved description now explicitly states 'for Women', addressing this requirement.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+                        "suggestion": "The improved description now includes key features (Pomegranate, Orchid, Long Lasting), benefits (captivating, memorable), specifications (Eau de Parfum, 50ml), and use-case (daily use or special occasions), all derived from available product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Key attribute 'top_notes: Pomegranate' not mentioned in title/description",
+                        "suggestion": "The improved description now explicitly mentions 'top note of Pomegranate', addressing this SEO gap.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Title missing key attributes (brand, model, color, size)",
+                        "suggestion": "The improved title 'Calvin Klein Euphoria Eau de Parfum Women's 50ml' now includes Brand ('Calvin Klein'), Product Name/Model ('Euphoria'), and Size ('50ml'). Color is not available.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    }
+                ],
+                "quality_score_prediction": 92.5,
+                "summary": "Significant improvements have been made to the product title and description by incorporating key factual data such as brand, product name, fragrance type, gender, size, and specific notes. The description is now more comprehensive, addressing missing features, benefits, and use cases. Data limitations prevented the inclusion of 'Long Lasting' in the title due to strict element sourcing rules, and attribute corrections require external validation for unrecognized notes.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {}
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: ",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Must contain at least one of: Short, Moderate, Long Lasting",
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": [
+                    "Add one of these keywords to Title: Short, Moderate, Long Lasting"
+                ]
+            },
+            "description": {
+                "issues": [
+                    "Must contain at least one of: Men, Women, Unisex",
+                    "Incomplete (missing: features, benefits, specifications, use_case)"
+                ],
+                "suggestions": [
+                    "Add one of these keywords to Description: Men, Women, Unisex",
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Key attribute 'top_notes: Pomegranate' not mentioned in title/description",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": []
+            },
+            "images": {
+                "issues": [
+                    "No image provided"
+                ],
+                "suggestions": [
+                    "Upload product image"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "top_notes: 'Pomegranate' not recognized. Valid: Citrus, Bergamot, Lavender",
+                    "middle_notes: 'Orchid' not recognized. Valid: Jasmine, Musk, Vanilla"
+                ],
+                "suggestions": [
+                    "Change top_notes to one of: Citrus, Bergamot, Lavender",
+                    "Change middle_notes to one of: Jasmine, Musk, Vanilla",
+                    "Add 'top_notes: Pomegranate' to title or first line of description",
+                    "Consider adding more value-indicating terms for better positioning",
+                    "Remove spam indicators, use professional language",
+                    "Description readability is moderate, simplify complex sentences",
+                    "Break long description into paragraphs for readability",
+                    "Consider adding a subtle call-to-action or conclusion"
+                ]
+            }
+        },
+        "issues": [
+            "top_notes: 'Pomegranate' not recognized. Valid: Citrus, Bergamot, Lavender",
+            "middle_notes: 'Orchid' not recognized. Valid: Jasmine, Musk, Vanilla",
+            "SEO: Key attribute 'top_notes: Pomegranate' not mentioned in title/description",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Must contain at least one of: Short, Moderate, Long Lasting",
+            "Description: Must contain at least one of: Men, Women, Unisex",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "No image provided"
+        ],
+        "suggestions": [
+            "Change top_notes to one of: Citrus, Bergamot, Lavender",
+            "Change middle_notes to one of: Jasmine, Musk, Vanilla",
+            "Add 'top_notes: Pomegranate' to title or first line of description",
+            "Consider adding more value-indicating terms for better positioning",
+            "Include at least 2-3 key attributes in title",
+            "Add one of these keywords to Title: Short, Moderate, Long Lasting",
+            "Add one of these keywords to Description: Men, Women, Unisex",
+            "Consider adding more attributes: ",
+            "Remove spam indicators, use professional language",
+            "Description readability is moderate, simplify complex sentences",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Break long description into paragraphs for readability",
+            "Consider adding a subtle call-to-action or conclusion",
+            "Upload product image"
+        ],
+        "processing_time": 60.38,
+        "product_type": "Perfumes"
+    },
+    {
+        "sku": "SDR-SKN-713846",
+        "title": "CeraVe Moisturising Cream with Ceramides for Dry to Very Dry Skin 50ml",
+        "description": "For dry to very dry skin, a rich cream moisturiser for face & body that delivers instant & long‑lasting hydration, for up to 24 hours. Also suitable for eczema prone skin. Enriched with Hyaluronic Acid, 3 Essential Ceramides, and formulated with CeraVe's patented MVE delivery technology, this cream hydrates & helps protect the skin's natural barrier. Developed with Dermatologists: All CeraVe skincare products have been Developed with Dermatologists.\n\nKey Ingredients: Enriched with Hyaluronic Acid & 3 Essential Ceramides. Formulated with a patented Multivesicular Emulsion (MVE) technology, to deliver controlled release of hydration helping skin stay hydrated for up to 24 hours.",
+        "image_path": "images/skincare-001.jpg",
+        "final_score": 83.77,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 50,
+            "missing_values": 100,
+            "consistency": 100,
+            "seo_discoverability": 64.82,
+            "content_rules_compliance": 92.5,
+            "title_quality": 83.12,
+            "description_quality": 67.94,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": null
+        },
+        "image_score": null,
+        "image_breakdown": {},
+        "image_metadata": {},
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "available_count": 4,
+                    "missing_elements": [
+                        "Gender",
+                        "Material",
+                        "Color"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": null
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "values_used": [
+                        "CeraVe",
+                        "Skincare",
+                        "Ceramides",
+                        "50ml"
+                    ],
+                    "element_count": 4,
+                    "construction_logic": "The title was constructed using the available elements in the specified SKINCARE order: Brand, Product Type, Key Ingredient (mapped from Key Feature), and Size. All values are sourced directly from the ✅ available data inventory."
+                },
+                "improved_title": "CeraVe Skincare Ceramides 50ml",
+                "improved_description": "CeraVe Skincare offers a rich moisturising cream, expertly formulated for dry to very dry skin. This 50ml cream provides instant and long-lasting hydration for up to 24 hours, and is also suitable for eczema-prone skin. Enriched with essential Ceramides and Hyaluronic Acid, it helps to protect the skin's natural barrier. Developed with dermatologists, this CeraVe cream utilizes patented MVE delivery technology to ensure effective hydration.",
+                "seo_keywords": [
+                    "CeraVe",
+                    "Skincare",
+                    "Ceramides",
+                    "50ml",
+                    "Moisturising Cream",
+                    "Dry Skin",
+                    "Hyaluronic Acid",
+                    "Hydrating"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "gender": "Cannot suggest - no source data available",
+                    "material": "Cannot suggest - no source data available",
+                    "color": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "skin_type: 'Dry to Very Dry' not recognized. Valid: Dry, Oily, Combination",
+                        "suggestion": "Update attribute definition to include 'Dry to Very Dry' as a valid option, or provide clear mapping rules for complex skin types. Cannot correct without losing information.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "key_ingredient: 'Ceramides & Hyaluronic Acid' not recognized. Valid: Vitamin C, Hyaluronic Acid, Niacinamide",
+                        "suggestion": "Update attribute definition to include 'Ceramides' or 'Ceramides & Hyaluronic Acid' as a valid key ingredient, or allow multiple key ingredients. Cannot correct without losing information.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "The improved title has been rewritten to remove spam-like patterns and adhere to standard capitalization.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: ~16 potential spelling errors",
+                        "suggestion": "Review and correct all spelling errors in the description.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Very difficult to read (complex sentences)",
+                        "suggestion": "The improved description has been simplified with clearer sentence structure for better readability.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Key attribute 'key_ingredient: Ceramides & Hyaluronic Acid' not mentioned in title/description",
+                        "suggestion": "The improved title and description now explicitly mention 'Ceramides' and 'Hyaluronic Acid' for better SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No descriptive/quality adjectives found",
+                        "suggestion": "Add relevant descriptive adjectives (e.g., 'effective', 'gentle') if supported by product data or brand guidelines. Cannot invent without data.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                        "suggestion": "Incorporate high-value search terms if applicable and supported by product positioning. Cannot invent without data.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Title missing key attributes (brand, model, color, size)",
+                        "suggestion": "The improved title now includes the brand, key feature (Ceramides), and size for improved SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    }
+                ],
+                "quality_score_prediction": 92.5,
+                "summary": "The product data has been enhanced with a clear, concise title incorporating key brand, product type, ingredient, and size information. The description has been rewritten for improved readability and SEO, ensuring all factual details are present. Attribute corrections are limited by the absence of valid mapping options for existing data, highlighting a need for updated attribute definitions.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {}
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: ",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Must contain at least one of: Yes, No",
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": [
+                    "Add one of these keywords to Title: Yes, No"
+                ]
+            },
+            "description": {
+                "issues": [
+                    "~16 potential spelling errors",
+                    "Very difficult to read (complex sentences)"
+                ],
+                "suggestions": []
+            },
+            "seo": {
+                "issues": [
+                    "Key attribute 'key_ingredient: Ceramides & Hyaluronic Acid' not mentioned in title/description",
+                    "No descriptive/quality adjectives found",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "No image provided"
+                ],
+                "suggestions": [
+                    "Upload product image"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "skin_type: 'Dry to Very Dry' not recognized. Valid: Dry, Oily, Combination",
+                    "key_ingredient: 'Ceramides & Hyaluronic Acid' not recognized. Valid: Vitamin C, Hyaluronic Acid, Niacinamide"
+                ],
+                "suggestions": [
+                    "Change skin_type to one of: Dry, Oily, Combination",
+                    "Change key_ingredient to one of: Vitamin C, Hyaluronic Acid, Niacinamide",
+                    "Add 'key_ingredient: Ceramides & Hyaluronic Acid' to title or first line of description",
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Remove spam indicators, use professional language",
+                    "Run spell-check and correct misspellings",
+                    "Description has significant overlap with title, add unique information",
+                    "Simplify language, use shorter sentences and common words",
+                    "Consider adding: features, specifications",
+                    "Consider adding a subtle call-to-action or conclusion"
+                ]
+            }
+        },
+        "issues": [
+            "skin_type: 'Dry to Very Dry' not recognized. Valid: Dry, Oily, Combination",
+            "key_ingredient: 'Ceramides & Hyaluronic Acid' not recognized. Valid: Vitamin C, Hyaluronic Acid, Niacinamide",
+            "SEO: Key attribute 'key_ingredient: Ceramides & Hyaluronic Acid' not mentioned in title/description",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Must contain at least one of: Yes, No",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: ~16 potential spelling errors",
+            "Description: Very difficult to read (complex sentences)",
+            "No image provided"
+        ],
+        "suggestions": [
+            "Change skin_type to one of: Dry, Oily, Combination",
+            "Change key_ingredient to one of: Vitamin C, Hyaluronic Acid, Niacinamide",
+            "Add 'key_ingredient: Ceramides & Hyaluronic Acid' to title or first line of description",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Include at least 2-3 key attributes in title",
+            "Add one of these keywords to Title: Yes, No",
+            "Consider adding more attributes: ",
+            "Remove spam indicators, use professional language",
+            "Run spell-check and correct misspellings",
+            "Description has significant overlap with title, add unique information",
+            "Simplify language, use shorter sentences and common words",
+            "Consider adding: features, specifications",
+            "Include more product attributes in description",
+            "Consider adding a subtle call-to-action or conclusion",
+            "Upload product image"
+        ],
+        "processing_time": 114.09,
+        "product_type": "Skincare"
+    },
+    {
+        "sku": "SDR-SKN-259430",
+        "title": "CeraVe Resurfacing Retinol Serum with Ceramides & Niacinamide for Blemish‑Prone Skin 30ml",
+        "description": "Resurfacing Retinol Serum designed to reduce the appearance of post-acne marks by exfoliating & brightening the skin, while protecting the skin’s natural barrier. Suitable for blemish-prone skin, sensitive and younger skin.\n\n: All CeraVe products have been Developed with Dermatologists.\n\nSpecifically Formulated for Blenish Prone Skin: This resurfacing retinol serum gently exfoliates to help fade the appearance of post-acne marks and even skin tone, while protecting the skin’s natural barrier.\n\nActive Ingredients: Containing Encapsulated Retinol & Liquorice Root Extract, this CeraVe retinol serum exfoliates and brightens With Niacinamide & 3 Essential Ceramides, the product helps protect the skin barrier",
+        "image_path": "images/skincare-002.jpg",
+        "final_score": 84.93,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 50,
+            "missing_values": 100,
+            "consistency": 100,
+            "seo_discoverability": 64.49,
+            "content_rules_compliance": 100,
+            "title_quality": 83.12,
+            "description_quality": 70.94,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": null
+        },
+        "image_score": null,
+        "image_breakdown": {},
+        "image_metadata": {},
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "available_count": 4,
+                    "missing_elements": [
+                        "Gender",
+                        "Material",
+                        "Color"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": ""
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "values_used": [
+                        "CeraVe",
+                        "Skincare",
+                        "Resurfacing Brightening",
+                        "30ml"
+                    ],
+                    "element_count": 4,
+                    "construction_logic": "The title was built using the available elements in the specified order for SKINCARE: Brand, Product Type, Key Feature (combining 'Resurfacing' and 'Brightening'), and Size. All values are sourced directly from the 'EXTRACTED DATA INVENTORY'."
+                },
+                "improved_title": "CeraVe Skincare Resurfacing Brightening 30ml",
+                "improved_description": "CeraVe Skincare Resurfacing Retinol Serum, 30ml, is expertly formulated to target blemish-prone skin. This serum works to reduce the appearance of post-acne marks through its resurfacing and brightening properties. Developed with dermatologists, it gently exfoliates the skin to help even tone while protecting the skin's natural barrier. Key ingredients include Retinol and Niacinamide, known for their skin-enhancing benefits.",
+                "seo_keywords": [
+                    "CeraVe",
+                    "Skincare",
+                    "Resurfacing Serum",
+                    "Brightening Serum",
+                    "Retinol",
+                    "Niacinamide",
+                    "Blemish-Prone Skin",
+                    "Post-Acne Marks",
+                    "30ml"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {},
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "skin_type: 'Blemish-Prone' not recognized by validator",
+                        "suggestion": "Update validator's accepted values for 'skin_type' to include 'Blemish-Prone' or map it to an existing valid type if appropriate. The product data is factual.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "key_ingredient: 'Retinol & Niacinamide' not recognized by validator",
+                        "suggestion": "Update validator's accepted values for 'key_ingredient' to include 'Retinol' and allow for multiple ingredients, or map 'Retinol & Niacinamide' to 'Niacinamide' if Retinol cannot be added. The product data is factual.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "Improved title generated: 'CeraVe Skincare Resurfacing Brightening 30ml' removes excessive punctuation and ensures proper capitalization.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "~16 potential spelling errors",
+                        "suggestion": "Review and correct spelling errors in the original description (e.g., 'Blenish' should be 'Blemish').",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Very difficult to read (complex sentences)",
+                        "suggestion": "Improved description generated with clearer, more concise sentences for better readability.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "Key attribute 'key_ingredient: Retinol & Niacinamide' not mentioned in title/description",
+                        "suggestion": "The improved description now explicitly mentions 'Retinol and Niacinamide'. The improved title focuses on the primary features as per rules.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "No descriptive/quality adjectives found",
+                        "suggestion": "Consider adding descriptive adjectives like 'effective' or 'gentle' if supported by product claims, but this requires external data verification.",
+                        "priority": "medium",
+                        "confidence": "medium",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                        "suggestion": "High-value search terms like 'premium' or 'best' are not supported by the provided data and should not be invented.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "Title missing key attributes (brand, model, color, size)",
+                        "suggestion": "Improved title now includes Brand, Product Type, Key Feature, and Size, addressing the missing attributes based on available data. Color and model are not available.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    }
+                ],
+                "quality_score_prediction": 92.5,
+                "summary": "The product data has been enhanced with an improved title and description, incorporating all available factual elements like brand, product type, key features, and size. Key attributes such as 'skin_type' and 'key_ingredient' were identified as factual but not recognized by the current validation rules, indicating a need for validator updates rather than data correction. SEO has been improved by including relevant keywords and addressing missing attributes in the title.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {}
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: ",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": []
+            },
+            "description": {
+                "issues": [
+                    "~16 potential spelling errors",
+                    "Very difficult to read (complex sentences)"
+                ],
+                "suggestions": []
+            },
+            "seo": {
+                "issues": [
+                    "Key attribute 'key_ingredient: Retinol & Niacinamide' not mentioned in title/description",
+                    "No descriptive/quality adjectives found",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "No image provided"
+                ],
+                "suggestions": [
+                    "Upload product image"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "skin_type: 'Blemish-Prone' not recognized. Valid: Dry, Oily, Combination",
+                    "key_ingredient: 'Retinol & Niacinamide' not recognized. Valid: Vitamin C, Hyaluronic Acid, Niacinamide"
+                ],
+                "suggestions": [
+                    "Change skin_type to one of: Dry, Oily, Combination",
+                    "Change key_ingredient to one of: Vitamin C, Hyaluronic Acid, Niacinamide",
+                    "Add 'key_ingredient: Retinol & Niacinamide' to title or first line of description",
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Remove spam indicators, use professional language",
+                    "Run spell-check and correct misspellings",
+                    "Description has significant overlap with title, add unique information",
+                    "Simplify language, use shorter sentences and common words",
+                    "Consider adding a subtle call-to-action or conclusion"
+                ]
+            }
+        },
+        "issues": [
+            "skin_type: 'Blemish-Prone' not recognized. Valid: Dry, Oily, Combination",
+            "key_ingredient: 'Retinol & Niacinamide' not recognized. Valid: Vitamin C, Hyaluronic Acid, Niacinamide",
+            "SEO: Key attribute 'key_ingredient: Retinol & Niacinamide' not mentioned in title/description",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: ~16 potential spelling errors",
+            "Description: Very difficult to read (complex sentences)",
+            "No image provided"
+        ],
+        "suggestions": [
+            "Change skin_type to one of: Dry, Oily, Combination",
+            "Change key_ingredient to one of: Vitamin C, Hyaluronic Acid, Niacinamide",
+            "Add 'key_ingredient: Retinol & Niacinamide' to title or first line of description",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Include at least 2-3 key attributes in title",
+            "Consider adding more attributes: ",
+            "Remove spam indicators, use professional language",
+            "Run spell-check and correct misspellings",
+            "Description has significant overlap with title, add unique information",
+            "Simplify language, use shorter sentences and common words",
+            "Include more product attributes in description",
+            "Consider adding a subtle call-to-action or conclusion",
+            "Upload product image"
+        ],
+        "processing_time": 115.64,
+        "product_type": "Skincare"
+    },
+    {
+        "sku": "SDR-PRF-175624",
+        "title": "Police To Be Woman Eau de Parfum 40ml",
+        "description": "This sexy fragrance oozes a magnetic attraction with fruity clementine and lime delicately blended with sensual white flowers all wrapped up in sweet candies.",
+        "image_path": "images/perfume-002.jpg",
+        "final_score": 82.66,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 50,
+            "missing_values": 100,
+            "consistency": 100,
+            "seo_discoverability": 78.88,
+            "content_rules_compliance": 92.5,
+            "title_quality": 79.88,
+            "description_quality": 67,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": null
+        },
+        "image_score": null,
+        "image_breakdown": {},
+        "image_metadata": {},
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "available_count": 4,
+                    "missing_elements": [
+                        "Gender",
+                        "Material",
+                        "Color"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": null
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature",
+                        "Size"
+                    ],
+                    "values_used": [
+                        "Police",
+                        "Perfumes",
+                        "Eau De Parfum",
+                        "40ml"
+                    ],
+                    "element_count": 4,
+                    "construction_logic": "The title was constructed using the available ✅ elements following the PERFUME ordering rule as closely as possible: Brand (Police), followed by Product Type (Perfumes), then Key Feature (Eau De Parfum, which aligns with Fragrance Type), and finally Size (40ml). The 'Product Name' element from the PERFUME rule was omitted as 'To Be Woman' was not an approved ✅ element."
+                },
+                "improved_title": "Police Perfumes Eau De Parfum 40ml",
+                "improved_description": "Police To Be Woman Eau de Parfum 40ml offers a captivating fragrance experience. This alluring scent features fruity clementine as a vibrant top note, leading into a heart of sensual white flowers. As an Eau de Parfum, it provides a moderate longevity, ensuring a lasting impression. The 40ml size is perfect for everyday use or travel, embodying magnetic attraction with its delicate blend of notes.",
+                "seo_keywords": [
+                    "Police perfume",
+                    "Eau de Parfum 40ml",
+                    "Clementine fragrance",
+                    "White Flowers scent",
+                    "moderate longevity perfume",
+                    "Police fragrance"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "gender": "Cannot suggest - no source data available",
+                    "material": "Cannot suggest - no source data available",
+                    "color": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "top_notes: 'Clementine' not recognized. Valid: Citrus, Bergamot, Lavender",
+                        "suggestion": "Update 'top_notes' to a recognized value like 'Citrus' if 'Clementine' is a type of citrus, or add 'Clementine' to the valid list. Requires external data/category rule update.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "middle_notes: 'White Flowers' not recognized. Valid: Jasmine, Musk, Vanilla",
+                        "suggestion": "Update 'middle_notes' to a recognized value like 'Jasmine' if 'White Flowers' refers to a specific flower, or add 'White Flowers' to the valid list. Requires external data/category rule update.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Must contain at least one of: Short, Moderate, Long Lasting",
+                        "suggestion": "The improved title 'Police Perfumes Eau De Parfum 40ml' does not explicitly contain a longevity term. While 'Eau De Parfum' implies moderate longevity, adding 'Moderate' would require it to be an approved ✅ element for the title. The original attributes include 'longevity': 'Moderate'. Consider adding 'Moderate' to the title if it becomes an approved ✅ element.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "The improved title 'Police Perfumes Eau De Parfum 40ml' avoids spam-like patterns, excessive capitalization, and multiple punctuation.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+                        "suggestion": "The improved description incorporates available features (clementine, white flowers, Eau de Parfum, 40ml) and benefits (magnetic attraction, lasting impression). Further details would require more source data.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Lacks proper sentence structure",
+                        "suggestion": "The improved description uses complete sentences and prose to enhance readability and structure.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No descriptive/quality adjectives found",
+                        "suggestion": "The improved description uses adjectives like 'captivating', 'alluring', 'vibrant', 'sensual', 'lasting'. Further unique adjectives would require more source data.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+                        "suggestion": "The improved description is written in complete sentences and prose.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                        "suggestion": "High-value search terms like 'premium' or 'best' cannot be added without explicit source data to support them. The improved title and description leverage existing high-value terms like 'Police', 'Eau de Parfum', and specific notes.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Title missing key attributes (brand, model, color, size)",
+                        "suggestion": "The improved title 'Police Perfumes Eau De Parfum 40ml' includes Brand ('Police'), Product Type ('Perfumes'), Key Feature ('Eau De Parfum'), and Size ('40ml'). 'Model' (Product Name) and 'Color' are not available as approved ✅ elements for title construction.",
+                        "priority": "low",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    }
+                ],
+                "quality_score_prediction": 94,
+                "summary": "The product data has been enhanced with a more descriptive title and an improved description, leveraging all available factual information. Key attributes like brand, product type, key feature, and size are now prominently featured. While several SEO and attribute issues were addressed, further improvements are limited by the absence of additional specific product details such as gender, specific notes, or explicit quality descriptors.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {}
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: ",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Must contain at least one of: Short, Moderate, Long Lasting",
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": [
+                    "Add one of these keywords to Title: Short, Moderate, Long Lasting"
+                ]
+            },
+            "description": {
+                "issues": [
+                    "Incomplete (missing: features, benefits, specifications, use_case)",
+                    "Lacks proper sentence structure"
+                ],
+                "suggestions": [
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "No descriptive/quality adjectives found",
+                    "Description lacks complete sentences (use prose, not just bullet points)",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "No image provided"
+                ],
+                "suggestions": [
+                    "Upload product image"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "top_notes: 'Clementine' not recognized. Valid: Citrus, Bergamot, Lavender",
+                    "middle_notes: 'White Flowers' not recognized. Valid: Jasmine, Musk, Vanilla"
+                ],
+                "suggestions": [
+                    "Change top_notes to one of: Citrus, Bergamot, Lavender",
+                    "Change middle_notes to one of: Jasmine, Musk, Vanilla",
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Write 2-3 complete sentences describing the product",
+                    "Consider expanding title to 50-100 characters for better SEO",
+                    "Remove spam indicators, use professional language",
+                    "Description readability is moderate, simplify complex sentences",
+                    "Write in complete sentences, not just bullet points"
+                ]
+            }
+        },
+        "issues": [
+            "top_notes: 'Clementine' not recognized. Valid: Citrus, Bergamot, Lavender",
+            "middle_notes: 'White Flowers' not recognized. Valid: Jasmine, Musk, Vanilla",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Must contain at least one of: Short, Moderate, Long Lasting",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "Description: Lacks proper sentence structure",
+            "No image provided"
+        ],
+        "suggestions": [
+            "Change top_notes to one of: Citrus, Bergamot, Lavender",
+            "Change middle_notes to one of: Jasmine, Musk, Vanilla",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Write 2-3 complete sentences describing the product",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Include at least 2-3 key attributes in title",
+            "Add one of these keywords to Title: Short, Moderate, Long Lasting",
+            "Consider expanding title to 50-100 characters for better SEO",
+            "Consider adding more attributes: ",
+            "Remove spam indicators, use professional language",
+            "Description readability is moderate, simplify complex sentences",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Write in complete sentences, not just bullet points",
+            "Upload product image"
+        ],
+        "processing_time": 61.87,
+        "product_type": "Perfumes"
+    },
+    {
+        "sku": "ELEC-001",
+        "title": "Apple MacBook Pro 14-inch",
+        "description": "Latest Apple MacBook Pro with M3 chip.",
+        "image_path": "images/CLTH-001.jpg",
+        "final_score": 80.21,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 100,
+            "missing_values": 100,
+            "consistency": 50,
+            "seo_discoverability": 61.38,
+            "content_rules_compliance": 100,
+            "title_quality": 74.38,
+            "description_quality": 63.92,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": 87.5
+        },
+        "image_score": 87.5,
+        "image_breakdown": {
+            "resolution": 70,
+            "clarity": 100,
+            "background": 90,
+            "size": 80,
+            "format": 100
+        },
+        "image_metadata": {
+            "width": 960,
+            "height": 640,
+            "dpi": [
+                null,
+                null
+            ],
+            "format": "JPG",
+            "mode": "RGB",
+            "file_size_mb": 0.11,
+            "dominant_color_rgb": [
+                252,
+                252,
+                251
+            ],
+            "dominant_color_hex": "#fcfcfb",
+            "dominant_color_name": "snow",
+            "background_coverage": 47.63
+        },
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Color"
+                    ],
+                    "available_count": 3,
+                    "missing_elements": [
+                        "Gender",
+                        "Key Feature",
+                        "Material",
+                        "Size"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": ""
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Color"
+                    ],
+                    "values_used": [
+                        "Apple",
+                        "Electronics",
+                        "Gray"
+                    ],
+                    "element_count": 3,
+                    "construction_logic": "The title was constructed using the available 'Brand', 'Product Type', and 'Color' elements in that specific order, adhering strictly to the instruction to only use ✅ marked values from the extracted data inventory."
+                },
+                "improved_title": "Apple Electronics Gray",
+                "improved_description": "This is a high-quality Apple Electronics product, presented in a sleek Gray finish. As a reliable electronic device from the renowned Apple brand, it offers consistent performance and a sophisticated aesthetic. The modern Gray color provides a versatile look, suitable for various environments. This Apple Electronics item is designed to meet contemporary needs and comes with a 1 Year warranty, ensuring peace of mind for the user.",
+                "seo_keywords": [
+                    "Apple",
+                    "Electronics",
+                    "Gray",
+                    "Apple Electronics",
+                    "Gray Electronics",
+                    "Electronic device",
+                    "Apple brand"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "Gender": "Cannot suggest - no source data available",
+                    "Key Feature": "Cannot suggest - no source data available",
+                    "Material": "Cannot suggest - no source data available",
+                    "Size": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "'Color': 'Gray' not mentioned in title/description",
+                        "suggestion": "The improved title and description now explicitly mention the 'Gray' color.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "The improved title has been reconstructed using a standardized format, avoiding any spam-like patterns or excessive punctuation.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "SEO: Description too short (7 words, recommended 50+)",
+                        "suggestion": "The description has been expanded to meet the recommended length of 50-150 words, utilizing all available product data (Brand, Product Type, Color, Warranty).",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "SEO: No descriptive/quality adjectives found",
+                        "suggestion": "Descriptive adjectives such as 'sleek' and 'renowned' have been incorporated into the description based on available product attributes.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+                        "suggestion": "The description has been rewritten into complete, flowing sentences to improve readability and SEO quality.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Missing common search term 'brand' for Electronics",
+                        "suggestion": "The brand 'Apple' is now prominently featured in the improved title, description, and SEO keywords.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Missing common search term 'model' for Electronics",
+                        "suggestion": "Cannot suggest a specific 'model' as no model name (e.g., MacBook Pro) is available in the ✅ extracted data inventory. This requires external data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    }
+                ],
+                "quality_score_prediction": 93.7,
+                "summary": "The product data has been improved by generating a standardized title and an expanded, prose-based description, incorporating all available factual elements like Brand, Product Type, Color, and Warranty. SEO has been enhanced by including relevant keywords and addressing description length and sentence structure. However, the improvements are significantly limited by the lack of specific product details such as model and key features in the provided source data.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {
+                "note": "No improvements needed"
+            }
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: color: Gray",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": [
+                    "Expand title to include key attributes (brand, model, key features)"
+                ]
+            },
+            "description": {
+                "issues": [
+                    "Incomplete (missing: features, benefits, specifications, use_case)",
+                    "Lacks proper sentence structure"
+                ],
+                "suggestions": [
+                    "Expand description to 50-150 words for better SEO",
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Description too short (7 words, recommended 50+)",
+                    "No descriptive/quality adjectives found",
+                    "Description lacks complete sentences (use prose, not just bullet points)",
+                    "Missing common search term 'brand' for Electronics",
+                    "Missing common search term 'model' for Electronics",
+                    "Missing common search term 'warranty' for Electronics",
+                    "Missing common search term 'condition' for Electronics",
+                    "Missing common search term 'specs' for Electronics",
+                    "Missing common search term 'features' for Electronics",
+                    "Missing common search term 'technology' for Electronics",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title too short (25 chars, recommended 50-100)",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Consider mentioning 'brand' if applicable to improve searchability",
+                    "Consider mentioning 'model' if applicable to improve searchability",
+                    "Consider mentioning 'warranty' if applicable to improve searchability",
+                    "Consider mentioning 'condition' if applicable to improve searchability",
+                    "Consider mentioning 'specs' if applicable to improve searchability",
+                    "Consider mentioning 'features' if applicable to improve searchability",
+                    "Consider mentioning 'technology' if applicable to improve searchability",
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [],
+                "suggestions": [
+                    "DPI information not available in image, ensure high-quality source",
+                    "Image width acceptable but could be larger (current: 960px)",
+                    "Image aspect ratio unusual (1.50), consider standard format"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "'Color': 'Gray' not mentioned in title/description"
+                ],
+                "suggestions": [
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Write 2-3 complete sentences describing the product",
+                    "Consider expanding title to 50-100 characters for better SEO",
+                    "Remove spam indicators, use professional language",
+                    "Title too few words, expand with descriptive terms",
+                    "Description has significant overlap with title, add unique information",
+                    "Write in complete sentences, not just bullet points"
+                ]
+            }
+        },
+        "issues": [
+            "'Color': 'Gray' not mentioned in title/description",
+            "SEO: Description too short (7 words, recommended 50+)",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+            "SEO: Missing common search term 'brand' for Electronics",
+            "SEO: Missing common search term 'model' for Electronics",
+            "SEO: Missing common search term 'warranty' for Electronics",
+            "SEO: Missing common search term 'condition' for Electronics",
+            "SEO: Missing common search term 'specs' for Electronics",
+            "SEO: Missing common search term 'features' for Electronics",
+            "SEO: Missing common search term 'technology' for Electronics",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title too short (25 chars, recommended 50-100)",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "Description: Lacks proper sentence structure"
+        ],
+        "suggestions": [
+            "Expand description to 50-150 words for better SEO",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Write 2-3 complete sentences describing the product",
+            "Consider mentioning 'brand' if applicable to improve searchability",
+            "Consider mentioning 'model' if applicable to improve searchability",
+            "Consider mentioning 'warranty' if applicable to improve searchability",
+            "Consider mentioning 'condition' if applicable to improve searchability",
+            "Consider mentioning 'specs' if applicable to improve searchability",
+            "Consider mentioning 'features' if applicable to improve searchability",
+            "Consider mentioning 'technology' if applicable to improve searchability",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Expand title to include key attributes (brand, model, key features)",
+            "Include at least 2-3 key attributes in title",
+            "Consider expanding title to 50-100 characters for better SEO",
+            "Consider adding more attributes: color: Gray",
+            "Remove spam indicators, use professional language",
+            "Title too few words, expand with descriptive terms",
+            "Description has significant overlap with title, add unique information",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Write in complete sentences, not just bullet points",
+            "DPI information not available in image, ensure high-quality source",
+            "Image width acceptable but could be larger (current: 960px)",
+            "Image aspect ratio unusual (1.50), consider standard format"
+        ],
+        "processing_time": 120.03,
+        "product_type": "Electronics"
+    },
+    {
+        "sku": "SDR-FAS-934215",
+        "title": "QUIZ Lemon Drop Sleeve Maxi Dress",
+        "description": "Cowl neck Drop sleeve Ruched waist. Model height: 5'6\" Model wears UK 8 / US 4 / EUR 36.",
+        "image_path": "images/fashion-001.jpg",
+        "final_score": 83.4,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 50,
+            "missing_values": 100,
+            "consistency": 50,
+            "seo_discoverability": 58.92,
+            "content_rules_compliance": 89.76,
+            "title_quality": 78.88,
+            "description_quality": 69.5,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": null
+        },
+        "image_score": null,
+        "image_breakdown": {},
+        "image_metadata": {},
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "available_count": 5,
+                    "missing_elements": [
+                        "Gender",
+                        "Key Feature"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": ""
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "values_used": [
+                        "QUIZ",
+                        "Fashion",
+                        "Polyester",
+                        "UK 8",
+                        "Yellow"
+                    ],
+                    "element_count": 5,
+                    "construction_logic": "Title constructed by following the specified element order for Clothing/Dresses: Brand, Product Type, Material, Size, Color, using only values from the 'EXTRACTED DATA INVENTORY'."
+                },
+                "improved_title": "QUIZ Fashion Polyester UK 8 Yellow",
+                "improved_description": "This QUIZ Fashion item is crafted from high-quality Polyester, ensuring a durable and lasting garment. Designed in a vibrant Yellow color, this piece is available in UK 8. It's an essential addition to any wardrobe, perfect for various fashion occasions. The Polyester material ensures easy care and maintains its quality over time.",
+                "seo_keywords": [
+                    "QUIZ fashion",
+                    "Polyester fashion",
+                    "Yellow UK 8",
+                    "QUIZ apparel",
+                    "durable Polyester"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "Gender": "Cannot suggest - no source data available",
+                    "Key Feature": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "size: 'UK 8' not recognized by system. Valid: XS, S, M",
+                        "suggestion": "The value 'UK 8' is factual product data. Suggest updating the system's valid size list to include 'UK 8' or providing a mapping to a recognized standard if available.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "color: 'Yellow' not recognized by system. Valid: Black, White, Blue",
+                        "suggestion": "The value 'Yellow' is factual product data. Suggest updating the system's valid color list to include 'Yellow' or providing a mapping to a recognized standard if available.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "'Color': 'Yellow' not mentioned in title/description",
+                        "suggestion": "Ensure 'Yellow' is explicitly mentioned in the improved title and description for better product visibility and SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "'Material': 'Polyester' not mentioned in title/description",
+                        "suggestion": "Ensure 'Polyester' is explicitly mentioned in the improved title and description for better product visibility and SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "title",
+                        "issue": "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+                        "suggestion": "Rewrite title to be concise and descriptive, avoiding excessive capitalization and punctuation. Use the improved_title provided.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Too short (88 chars, minimum 100)",
+                        "suggestion": "Expand description to meet minimum length requirement (100 characters) and provide more detail using available product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Too few words (19 words, minimum 20)",
+                        "suggestion": "Expand description to meet minimum word count (20 words) and provide more detail using available product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Must contain at least one of: material, fit, style, occasion",
+                        "suggestion": "Ensure description includes 'material' (Polyester). 'Fit', 'style', and 'occasion' cannot be added without additional source data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "description",
+                        "issue": "~8 potential spelling errors",
+                        "suggestion": "Review description for spelling errors and correct them.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Key attribute 'color: Yellow' not mentioned in title/description",
+                        "suggestion": "Integrate 'Yellow' into the improved title and description for better SEO and searchability.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Key attribute 'material: Polyester' not mentioned in title/description",
+                        "suggestion": "Integrate 'Polyester' into the improved title and description for better SEO and searchability.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Description too short (19 words, recommended 50+)",
+                        "suggestion": "Expand description to at least 50 words, incorporating relevant keywords from available data to improve SEO ranking.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No descriptive/quality adjectives found",
+                        "suggestion": "Add descriptive adjectives (e.g., 'vibrant', 'high-quality', 'durable') based on product type and material, ensuring they are not invented features.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                        "suggestion": "Incorporate high-value search terms like 'durable' and 'high-quality' where appropriate, based on the product's material and type, without inventing facts.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    }
+                ],
+                "quality_score_prediction": 93.5,
+                "summary": "The product data has been significantly improved by generating a descriptive title and an expanded description, both strictly adhering to the available factual elements: Brand, Product Type, Material, Size, and Color. Key attributes like 'Yellow' and 'Polyester' are now prominently featured in the title and description, addressing previous SEO and content gaps. While the system flagged 'UK 8' and 'Yellow' as unrecognized, these factual values are retained, with a recommendation for system updates or mapping to ensure data integrity.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {}
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: color: Yellow, size: UK 8",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": []
+            },
+            "description": {
+                "issues": [
+                    "Too short (88 chars, minimum 100)",
+                    "Too few words (19 words, minimum 20)",
+                    "Must contain at least one of: material, fit, style, occasion",
+                    "~8 potential spelling errors",
+                    "Incomplete (missing: features, benefits, specifications, use_case)"
+                ],
+                "suggestions": [
+                    "Expand description to 50-150 words for better SEO",
+                    "Expand Description to at least 100 characters",
+                    "Expand Description to at least 20 words with more details",
+                    "Add one of these keywords to Description: material, fit, style",
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Key attribute 'color: Yellow' not mentioned in title/description",
+                    "Key attribute 'material: Polyester' not mentioned in title/description",
+                    "Description too short (19 words, recommended 50+)",
+                    "No descriptive/quality adjectives found",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "No image provided"
+                ],
+                "suggestions": [
+                    "Upload product image"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "size: 'UK 8' not recognized. Valid: XS, S, M",
+                    "color: 'Yellow' not recognized. Valid: Black, White, Blue",
+                    "'Color': 'Yellow' not mentioned in title/description",
+                    "'Material': 'Polyester' not mentioned in title/description"
+                ],
+                "suggestions": [
+                    "Change size to one of: XS, S, M",
+                    "Change color to one of: Black, White, Blue",
+                    "Add 'color: Yellow' to title or first line of description",
+                    "Add 'material: Polyester' to title or first line of description",
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Consider expanding title to 50-100 characters for better SEO",
+                    "Remove spam indicators, use professional language",
+                    "Run spell-check and correct misspellings"
+                ]
+            }
+        },
+        "issues": [
+            "size: 'UK 8' not recognized. Valid: XS, S, M",
+            "color: 'Yellow' not recognized. Valid: Black, White, Blue",
+            "'Color': 'Yellow' not mentioned in title/description",
+            "'Material': 'Polyester' not mentioned in title/description",
+            "SEO: Key attribute 'color: Yellow' not mentioned in title/description",
+            "SEO: Key attribute 'material: Polyester' not mentioned in title/description",
+            "SEO: Description too short (19 words, recommended 50+)",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Description: Too short (88 chars, minimum 100)",
+            "Description: Too few words (19 words, minimum 20)",
+            "Description: Must contain at least one of: material, fit, style, occasion",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: ~8 potential spelling errors",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "No image provided"
+        ],
+        "suggestions": [
+            "Change size to one of: XS, S, M",
+            "Change color to one of: Black, White, Blue",
+            "Add 'color: Yellow' to title or first line of description",
+            "Add 'material: Polyester' to title or first line of description",
+            "Expand description to 50-150 words for better SEO",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Include at least 2-3 key attributes in title",
+            "Expand Description to at least 100 characters",
+            "Expand Description to at least 20 words with more details",
+            "Add one of these keywords to Description: material, fit, style",
+            "Consider expanding title to 50-100 characters for better SEO",
+            "Consider adding more attributes: color: Yellow, size: UK 8",
+            "Remove spam indicators, use professional language",
+            "Run spell-check and correct misspellings",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Upload product image"
+        ],
+        "processing_time": 127.54,
+        "product_type": "Fashion"
+    },
+    {
+        "sku": "Mobile-001",
+        "title": "OnePlus 9RT blue",
+        "description": "Latest stylest mobile phone",
+        "image_path": "images/oneplus-9rt-back-panel.jpg",
+        "final_score": 78.89,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 0,
+            "missing_values": 100,
+            "consistency": 50,
+            "seo_discoverability": 55.38,
+            "content_rules_compliance": 90.62,
+            "title_quality": 75.62,
+            "description_quality": 59.75,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": 71.13
+        },
+        "image_score": 71.13,
+        "image_breakdown": {
+            "resolution": 65.38,
+            "clarity": 49.62,
+            "background": 75,
+            "size": 82.5,
+            "format": 100
+        },
+        "image_metadata": {
+            "width": 1072,
+            "height": 675,
+            "dpi": [
+                96,
+                96
+            ],
+            "format": "JPG",
+            "mode": "RGB",
+            "file_size_mb": 0.12,
+            "dominant_color_rgb": [
+                155,
+                136,
+                119
+            ],
+            "dominant_color_hex": "#9b8877",
+            "dominant_color_name": "gray",
+            "background_coverage": 63.8
+        },
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type",
+                        "Color"
+                    ],
+                    "available_count": 3,
+                    "missing_elements": [
+                        "Gender",
+                        "Key Feature",
+                        "Material",
+                        "Size"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": ""
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Color"
+                    ],
+                    "values_used": [
+                        "OnePlus",
+                        "Electronics",
+                        "Gray"
+                    ],
+                    "element_count": 3,
+                    "construction_logic": "The improved_title was constructed using the available Brand ('OnePlus'), Product Type ('Electronics'), and Color ('Gray') in a logical order. All elements are from the explicitly available and allowed data."
+                },
+                "improved_title": "OnePlus Electronics Gray",
+                "improved_description": "This OnePlus Electronics product is a mobile phone, presented in a distinct Gray color. It is backed by a 1 Year warranty, ensuring reliability. As a core Electronics device from the OnePlus brand, this mobile phone is built for essential communication and daily tasks.",
+                "seo_keywords": [
+                    "OnePlus",
+                    "Electronics",
+                    "Gray mobile phone",
+                    "OnePlus Electronics",
+                    "Gray",
+                    "mobile phone"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "model": "Cannot suggest - no source data available",
+                    "gender": "Cannot suggest - no source data available",
+                    "key_feature": "Cannot suggest - no source data available",
+                    "material": "Cannot suggest - no source data available",
+                    "size": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "brand: 'OnePlus' not recognized. Valid: Apple, Samsung, Sony",
+                        "suggestion": "Validate 'OnePlus' as a recognized brand for Electronics or update the list of valid brands. The provided brand 'OnePlus' has been used in the improved title and description.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "attributes",
+                        "issue": "'Color': 'Gray' not mentioned in title/description",
+                        "suggestion": "The color 'Gray' has been explicitly included in the improved title and description for consistency and completeness.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "Description too short (4 words, recommended 50+)",
+                        "suggestion": "The description has been expanded to approximately 50 words, incorporating available product data (brand, product type, color, warranty) to meet length recommendations.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "No descriptive/quality adjectives found",
+                        "suggestion": "Descriptive terms like 'distinct' and 'essential' have been added to the description, derived from the product type and brand, without inventing new features.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "Description lacks complete sentences (use prose, not just bullet points)",
+                        "suggestion": "The description has been rewritten into complete, flowing sentences to improve readability and SEO.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "Missing common search term 'brand' for Electronics",
+                        "suggestion": "The brand 'OnePlus' is prominently featured in the improved title, description, and SEO keywords.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "Missing common search term 'model' for Electronics",
+                        "suggestion": "To improve SEO, 'model' information should be added if available from external data sources. Currently, no model data is available in the provided source.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    }
+                ],
+                "quality_score_prediction": 90.9,
+                "summary": "The product listing has been significantly improved by generating a comprehensive title and an expanded description, both strictly adhering to available data. Key improvements include incorporating the brand, product type, and color into the title, and enriching the description with details like warranty. However, the absence of specific model, gender, material, and size data limits further enhancement and SEO optimization.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {
+                "error": "Failed to parse AI response",
+                "raw_response": "{\n  \"priority_fixes\": [\n    \"Address and eliminate blurriness to significantly improve image clarity (current score: 49.6).\",\n    \"Replace the current gray background with a pure white background to meet product image standards.\"\n  ],\n  \"recommended_specs\": {\n    \"width\": 1200,\n    \"height\": 1200,\n    \"format\": \"JPEG\",\n    \"background\": \"white\"\n  },\n  \"improvement_notes\": [\n    \"To improve clarity and resolution, ensure proper lighting, use a stable camera (e.g., tripod), and verify the product "
+            }
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Consider adding more attributes: color: Gray",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Too few words (3 words, minimum 4)",
+                    "Must contain at least one of: Apple, Samsung, Sony, HP",
+                    "Too short (16 chars, minimum 20)",
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": [
+                    "Expand title to include key attributes (brand, model, key features)",
+                    "Expand Title to at least 4 words with more details",
+                    "Add one of these keywords to Title: Apple, Samsung, Sony",
+                    "Expand title to 50-100 characters with key product details"
+                ]
+            },
+            "description": {
+                "issues": [
+                    "Incomplete (missing: features, benefits, specifications, use_case)",
+                    "Lacks proper sentence structure",
+                    "Weak opening sentence"
+                ],
+                "suggestions": [
+                    "Expand description to 50-150 words for better SEO",
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Description too short (4 words, recommended 50+)",
+                    "No descriptive/quality adjectives found",
+                    "Description lacks complete sentences (use prose, not just bullet points)",
+                    "Missing common search term 'brand' for Electronics",
+                    "Missing common search term 'model' for Electronics",
+                    "Missing common search term 'warranty' for Electronics",
+                    "Missing common search term 'condition' for Electronics",
+                    "Missing common search term 'specs' for Electronics",
+                    "Missing common search term 'features' for Electronics",
+                    "Missing common search term 'technology' for Electronics",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title too short (16 chars, recommended 50-100)",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Consider mentioning 'brand' if applicable to improve searchability",
+                    "Consider mentioning 'model' if applicable to improve searchability",
+                    "Consider mentioning 'warranty' if applicable to improve searchability",
+                    "Consider mentioning 'condition' if applicable to improve searchability",
+                    "Consider mentioning 'specs' if applicable to improve searchability",
+                    "Consider mentioning 'features' if applicable to improve searchability",
+                    "Consider mentioning 'technology' if applicable to improve searchability",
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "Blurry/low clarity (variance: 99.24)",
+                    "Non-white background (gray)"
+                ],
+                "suggestions": [
+                    "Resolution acceptable but could be better (current: 96.0 DPI)",
+                    "Use sharp, well-focused images (variance should be > 500)",
+                    "Use white or light neutral background for e-commerce standards",
+                    "Image aspect ratio unusual (1.59), consider standard format"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "brand: 'OnePlus' not recognized. Valid: Apple, Samsung, Sony",
+                    "'Color': 'Gray' not mentioned in title/description"
+                ],
+                "suggestions": [
+                    "Change brand to one of: Apple, Samsung, Sony",
+                    "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+                    "Write 2-3 complete sentences describing the product",
+                    "Remove spam indicators, use professional language",
+                    "Title too few words, expand with descriptive terms",
+                    "Write in complete sentences, not just bullet points",
+                    "Start with a strong, descriptive opening sentence"
+                ]
+            }
+        },
+        "issues": [
+            "brand: 'OnePlus' not recognized. Valid: Apple, Samsung, Sony",
+            "'Color': 'Gray' not mentioned in title/description",
+            "SEO: Description too short (4 words, recommended 50+)",
+            "SEO: No descriptive/quality adjectives found",
+            "SEO: Description lacks complete sentences (use prose, not just bullet points)",
+            "SEO: Missing common search term 'brand' for Electronics",
+            "SEO: Missing common search term 'model' for Electronics",
+            "SEO: Missing common search term 'warranty' for Electronics",
+            "SEO: Missing common search term 'condition' for Electronics",
+            "SEO: Missing common search term 'specs' for Electronics",
+            "SEO: Missing common search term 'features' for Electronics",
+            "SEO: Missing common search term 'technology' for Electronics",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title too short (16 chars, recommended 50-100)",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Too few words (3 words, minimum 4)",
+            "Title: Must contain at least one of: Apple, Samsung, Sony, HP",
+            "Title: Too short (16 chars, minimum 20)",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "Description: Lacks proper sentence structure",
+            "Description: Weak opening sentence",
+            "Image: Blurry/low clarity (variance: 99.24)",
+            "Image: Non-white background (gray)"
+        ],
+        "suggestions": [
+            "Change brand to one of: Apple, Samsung, Sony",
+            "Expand description to 50-150 words for better SEO",
+            "Add descriptive words like 'premium', 'durable', 'comfortable' to enhance appeal",
+            "Write 2-3 complete sentences describing the product",
+            "Consider mentioning 'brand' if applicable to improve searchability",
+            "Consider mentioning 'model' if applicable to improve searchability",
+            "Consider mentioning 'warranty' if applicable to improve searchability",
+            "Consider mentioning 'condition' if applicable to improve searchability",
+            "Consider mentioning 'specs' if applicable to improve searchability",
+            "Consider mentioning 'features' if applicable to improve searchability",
+            "Consider mentioning 'technology' if applicable to improve searchability",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Expand title to include key attributes (brand, model, key features)",
+            "Include at least 2-3 key attributes in title",
+            "Expand Title to at least 4 words with more details",
+            "Add one of these keywords to Title: Apple, Samsung, Sony",
+            "Expand title to 50-100 characters with key product details",
+            "Consider adding more attributes: color: Gray",
+            "Remove spam indicators, use professional language",
+            "Title too few words, expand with descriptive terms",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Write in complete sentences, not just bullet points",
+            "Start with a strong, descriptive opening sentence",
+            "Resolution acceptable but could be better (current: 96.0 DPI)",
+            "Use sharp, well-focused images (variance should be > 500)",
+            "Use white or light neutral background for e-commerce standards",
+            "Image aspect ratio unusual (1.59), consider standard format"
+        ],
+        "processing_time": 127.96,
+        "product_type": "Electronics"
+    },
+    {
+        "sku": "Trimmer-01",
+        "title": "Beard Trimmer",
+        "description": "Get a skin friendly trim with the help of SkinProtect Comb. It gives you a comfortable clean look while providing extra skin protection.",
+        "image_path": "images/trimmer.jpg",
+        "final_score": 75.24,
+        "max_score": 100,
+        "breakdown": {
+            "mandatory_fields": 100,
+            "standardization": 100,
+            "missing_values": 100,
+            "consistency": 0,
+            "seo_discoverability": 46.12,
+            "content_rules_compliance": 88.75,
+            "title_quality": 46.88,
+            "description_quality": 67.5,
+            "image_quality": null,
+            "attributes": 100,
+            "image_score": 74.41
+        },
+        "image_score": 74.41,
+        "image_breakdown": {
+            "resolution": 100,
+            "clarity": 10.49,
+            "background": 100,
+            "size": 78.6,
+            "format": 100
+        },
+        "image_metadata": {
+            "width": 679,
+            "height": 679,
+            "dpi": [
+                300,
+                300
+            ],
+            "format": "JPG",
+            "mode": "RGB",
+            "file_size_mb": 0.05,
+            "dominant_color_rgb": [
+                252,
+                252,
+                252
+            ],
+            "dominant_color_hex": "#fcfcfc",
+            "dominant_color_name": "snow",
+            "background_coverage": 70.78
+        },
+        "ai_suggestions": {
+            "content": {
+                "data_validation": {
+                    "available_elements": [
+                        "Brand",
+                        "Product Type"
+                    ],
+                    "available_count": 2,
+                    "missing_elements": [
+                        "Gender",
+                        "Key Feature",
+                        "Material",
+                        "Size",
+                        "Color"
+                    ],
+                    "can_build_valid_title": true,
+                    "reason": null
+                },
+                "title_construction": {
+                    "elements_used": [
+                        "Brand",
+                        "Product Type",
+                        "Key Feature (extracted from description)"
+                    ],
+                    "values_used": [
+                        "Philips",
+                        "Trimmer",
+                        "SkinProtect Comb"
+                    ],
+                    "element_count": 3,
+                    "construction_logic": "The title was constructed using 'Philips' (Brand) and 'Trimmer' (Product Type) from the available ✅ elements. Since only 2 elements were explicitly available, Rule 6 from the 'ABSOLUTE PROHIBITIONS' was applied, allowing extraction of a key feature from the description. 'SkinProtect Comb' was identified as a key feature in the description and used as the third element, adhering to the 'AT LEAST 3 elements' requirement without inventing data."
+                },
+                "improved_title": "Philips Trimmer SkinProtect Comb",
+                "improved_description": "The Philips Trimmer is engineered for a superior and comfortable grooming experience. It features an innovative SkinProtect Comb, specifically designed to provide a skin-friendly trim, ensuring minimal irritation. This advanced technology allows you to achieve a clean and polished look while offering extra skin protection. The Philips Trimmer delivers both effectiveness and gentleness, making it an essential tool for your grooming routine.",
+                "seo_keywords": [
+                    "Philips trimmer",
+                    "beard trimmer",
+                    "SkinProtect Comb",
+                    "skin friendly trim",
+                    "skin protection",
+                    "Philips grooming",
+                    "comfortable trim"
+                ],
+                "corrected_attributes": {},
+                "missing_attributes": {
+                    "gender": "Cannot suggest - no source data available",
+                    "material": "Cannot suggest - no source data available",
+                    "size": "Cannot suggest - no source data available",
+                    "color": "Cannot suggest - no source data available",
+                    "warranty": "Cannot suggest - no source data available"
+                },
+                "improvements": [
+                    {
+                        "component": "attributes",
+                        "issue": "'Color': 'None' not mentioned in title/description",
+                        "suggestion": "Add a specific color attribute if available from external data. Currently, 'None' is provided.",
+                        "priority": "medium",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "description",
+                        "issue": "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+                        "suggestion": "Expand the description further by detailing the benefits of the SkinProtect Comb, specific use cases (e.g., for beard, stubble), and any other unmentioned features or specifications if available from product data.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": false
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                        "suggestion": "Incorporate high-value search terms that accurately reflect the product's quality and benefits, if supported by product data or brand guidelines.",
+                        "priority": "medium",
+                        "confidence": "medium",
+                        "requires_external_data": true
+                    },
+                    {
+                        "component": "seo",
+                        "issue": "SEO: Title missing key attributes (model, color, size)",
+                        "suggestion": "Add specific model number, color, and size to the title if these attributes become available, to improve search visibility and user clarity.",
+                        "priority": "high",
+                        "confidence": "high",
+                        "requires_external_data": true
+                    }
+                ],
+                "quality_score_prediction": 92,
+                "summary": "The product title has been significantly improved by incorporating the brand, product type, and a key feature extracted from the description, meeting the minimum element requirement. The description has been enhanced to provide more detail on the product's benefits and features. Further improvements could be made by acquiring additional attribute data such as color, model, and size to enrich both the title and description, and by strategically adding high-value SEO terms.",
+                "hallucination_verification": {
+                    "passed": true,
+                    "invented_data": [],
+                    "all_data_sourced": true,
+                    "title_meets_minimum_length": true
+                }
+            },
+            "image": {
+                "error": "Failed to parse AI response",
+                "raw_response": "{\n  \"priority_fixes\": [\n    \"Reshoot the product image, ensuring it is sharp, in focus, and free from blur.\",\n    \"Optimize lighting to enhance clarity and detail of the Beard Trimmer.\",\n    \"Verify camera focus and settings (e.g., aperture,"
+            }
+        },
+        "categorized_feedback": {
+            "attributes": {
+                "issues": [],
+                "suggestions": [
+                    "Include at least 2-3 key attributes in title",
+                    "Include at least 2-3 key attributes (brand, model, color)",
+                    "Include more product attributes in description"
+                ]
+            },
+            "title": {
+                "issues": [
+                    "Too few words (2 words, minimum 4)",
+                    "Must contain at least one of: Philips, Beardo",
+                    "Too short (13 chars, minimum 20)",
+                    "Brand 'Philips' not clearly mentioned",
+                    "No key attributes found",
+                    "Contains spam-like patterns (excessive caps, multiple punctuation)"
+                ],
+                "suggestions": [
+                    "Expand title to include key attributes (brand, model, key features)",
+                    "Expand Title to at least 4 words with more details",
+                    "Add one of these keywords to Title: Philips, Beardo",
+                    "Expand title to 50-100 characters with key product details",
+                    "Add brand name 'Philips' to title start"
+                ]
+            },
+            "description": {
+                "issues": [
+                    "Incomplete (missing: features, benefits, specifications, use_case)"
+                ],
+                "suggestions": [
+                    "Add features, benefits, specifications, and use cases"
+                ]
+            },
+            "seo": {
+                "issues": [
+                    "Key attribute 'brand: Philips' not mentioned in title/description",
+                    "No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+                    "Title too short (13 chars, recommended 50-100)",
+                    "Title missing key attributes (brand, model, color, size)"
+                ],
+                "suggestions": [
+                    "Add 1-2 quality/value indicators to attract more searches"
+                ]
+            },
+            "images": {
+                "issues": [
+                    "Blurry/low clarity (variance: 20.98)"
+                ],
+                "suggestions": [
+                    "Use sharp, well-focused images (variance should be > 500)",
+                    "Image width acceptable but could be larger (current: 679px)"
+                ]
+            },
+            "general": {
+                "issues": [
+                    "'Brand': 'Philips' not mentioned in title/description",
+                    "'Color': 'None' not mentioned in title/description"
+                ],
+                "suggestions": [
+                    "Add 'brand: Philips' to title or first line of description",
+                    "Consider adding more descriptive adjectives for better engagement",
+                    "Remove spam indicators, use professional language",
+                    "Title too few words, expand with descriptive terms"
+                ]
+            }
+        },
+        "issues": [
+            "'Brand': 'Philips' not mentioned in title/description",
+            "'Color': 'None' not mentioned in title/description",
+            "SEO: Key attribute 'brand: Philips' not mentioned in title/description",
+            "SEO: No high-value search terms found (e.g., 'premium', 'durable', 'best')",
+            "SEO: Title too short (13 chars, recommended 50-100)",
+            "SEO: Title missing key attributes (brand, model, color, size)",
+            "Title: Too few words (2 words, minimum 4)",
+            "Title: Must contain at least one of: Philips, Beardo",
+            "Title: Too short (13 chars, minimum 20)",
+            "Title: Brand 'Philips' not clearly mentioned",
+            "Title: No key attributes found",
+            "Title: Contains spam-like patterns (excessive caps, multiple punctuation)",
+            "Description: Incomplete (missing: features, benefits, specifications, use_case)",
+            "Image: Blurry/low clarity (variance: 20.98)"
+        ],
+        "suggestions": [
+            "Add 'brand: Philips' to title or first line of description",
+            "Consider adding more descriptive adjectives for better engagement",
+            "Add 1-2 quality/value indicators to attract more searches",
+            "Expand title to include key attributes (brand, model, key features)",
+            "Include at least 2-3 key attributes in title",
+            "Expand Title to at least 4 words with more details",
+            "Add one of these keywords to Title: Philips, Beardo",
+            "Expand title to 50-100 characters with key product details",
+            "Add brand name 'Philips' to title start",
+            "Include at least 2-3 key attributes (brand, model, color)",
+            "Remove spam indicators, use professional language",
+            "Title too few words, expand with descriptive terms",
+            "Add features, benefits, specifications, and use cases",
+            "Include more product attributes in description",
+            "Use sharp, well-focused images (variance should be > 500)",
+            "Image width acceptable but could be larger (current: 679px)"
+        ],
+        "processing_time": 132.91,
+        "product_type": "Trimmer"
+    }
+]

+ 4 - 0
core/urls.py

@@ -23,6 +23,7 @@ from core.views import (
 )
 from .views import open_outlook_mail
 from .views import ProductTypeQualityMetricsView
+from .views import rr_content_card_view
 
 
 
@@ -41,4 +42,7 @@ urlpatterns = [
     path('api/quality-metrics/', ProductTypeQualityMetricsView.as_view(), name='quality-metrics'),
 
     path('run-script/', open_outlook_mail, name='open_outlook_mail'),
+
+    path('api/rr-content-card/', rr_content_card_view, name='rr_content_card_api'),
+
 ]

+ 22 - 0
core/views.py

@@ -1038,3 +1038,25 @@ class ProductTypeQualityMetricsView(APIView):
         ]
 
         return Response(results, status=status.HTTP_200_OK)
+
+
+
+
+
+import json
+import os
+from django.http import JsonResponse
+from django.conf import settings
+
+def rr_content_card_view(request):
+    file_path = os.path.join(settings.BASE_DIR, 'core', 'results', 'rr_content_card.json')
+    
+    try:
+        with open(file_path, 'r', encoding='utf-8') as file:
+            data = json.load(file)
+        # Return the exact JSON content
+        return JsonResponse(data, safe=False, json_dumps_params={'ensure_ascii': False, 'indent': 2})
+    except FileNotFoundError:
+        return JsonResponse({'error': 'File not found'}, status=404)
+    except json.JSONDecodeError:
+        return JsonResponse({'error': 'Invalid JSON format'}, status=500)