auto-save 2026-05-17 19:37 (~4)

This commit is contained in:
2026-05-17 19:37:40 +08:00
parent 96c998c04d
commit 5c6a16ddd8
4 changed files with 104 additions and 32 deletions

View File

@@ -4380,7 +4380,7 @@ def analyze_product_view(ref_path: Path, index: int) -> dict:
return fallback_product_view(index)
img_b64 = base64.b64encode(ref_path.read_bytes()).decode("ascii")
prompt = (
"You are inspecting a product reference image for a SKG neck-and-shoulder wearable massage device. The background may be white, black, or simple studio color. "
"You are inspecting one reference image from a same-product image pool for a SKG neck-and-shoulder wearable massage device. Do not classify product identity or compare different products; all uploaded references belong to the same product. The background may be white, black, or simple studio color. "
"Classify the camera/view angle into exactly one enum: front, left_45, right_45, side_thickness, inner_contacts, back_bottom. "
"Classify background into exactly one enum: white, black, simple, complex, unknown. Do not request or perform background conversion. "
"Add use_tags from this enum only: hero_packshot, wearing_scale, inner_contact, side_thickness, asymmetry, button_detail, back_bottom, material_texture. "