docs: add 4 dedicated LLM product generator prompts for wellness, beauty, fashion, and moto demo environments

This commit is contained in:
Your Name committed 2026-09-25 04:31:01 +07:00
1 parent 0f632f2a93
commit 0bc28ec190
5 files changed
+494 -139

No files matched your search

+127
View File
@@ -0,0 +1,127 @@
# Prompt สำหรับ LLM: สร้าง JSON สินค้ากลุ่ม Motorcycle Parts & Accessories (แนว RCB Racing Boy, Brembo, Ohlins)
ไฟล์นี้ใช้สำหรับ **Copy & Paste ส่งให้ LLM (ChatGPT / Claude / Gemini)** เพื่อสร้างแคตตาล็อกสินค้ากลุ่ม **อะไหล่แต่งมอเตอร์ไซค์, ระบบเบรก, โช้คอัพ, ก้านเบรก, ล้อแม็ก และท่อไอเสีย** คุณภาพสูง สำหรับนำเข้าสู่ระบบ `moto.kittisak.com`
---
## 📋 Prompt ส่งให้ LLM (Copy ข้อความด้านล่างนี้ทั้งหมด)
```text
คุณคือ Senior Motorcycle Parts Specialist และ Aftermarket Catalog Merchandiser เชี่ยวชาญการจัดทำฐานข้อมูลอะไหล่แต่งมอเตอร์ไซค์สมรรถนะสูง เช่น RCB (Racing Boy), Brembo, Öhlins, YSS Suspension, Akrapovič, Yoshimura
[ภารกิจของคุณ]:
สร้างข้อมูลสินค้าอะไหล่แต่งและอุปกรณ์มอเตอร์ไซค์สำหรับนำเข้าสู่ระบบ E-commerce ในรูปแบบ **Valid JSON Array** ตาม Schema ของระบบอย่างเคร่งครัด
[กฎและข้อกำหนดทางเทคนิค]:
1. ผลลัพธ์ต้องเป็น Valid JSON Array ล้วนๆ เริ่มต้นด้วย [ และจบด้วย ] เท่านั้น (ห้ามมีคำเกริ่นนำหรือคำลงท้าย)
2. ฟิลด์ตัวเลข (price, stock) ต้องเป็น Number เท่านั้น ห้ามใส่เครื่องหมายคำพูด (ห้ามเป็น String)
3. หมวดหมู่สินค้า (categoryName) ให้ใช้กลุ่มคำ เช่น:
- "Brake Systems & Calipers"
- "Suspension & Shocks"
- "Master Cylinders & Levers"
- "Exhaust & Headers"
- "Alloy Wheels & Footrests"
- "Engine & Drivetrain Performance"
4. แบรนด์ (brandName): ใส่ชื่อแบรนด์อะไหล่แต่งชั้นนำ เช่น "RCB", "Brembo", "Öhlins", "YSS Suspension", "Akrapovič", "Yoshimura", "GaleSpeed"
5. รูปภาพ (images): ใส่ Array ของ URL รูปภาพจาก Unsplash เกี่ยวกับ Motorcycle Parts, Mechanic, Motorbike, Caliper เช่น:
- "https://images.unsplash.com/photo-1558981403-c5f9899a28bc?w=800" (Motorcycle / Parts)
- "https://images.unsplash.com/photo-1568772585407-9361f9bf3a87?w=800" (Motorbike mechanics)
- "https://images.unsplash.com/photo-1599819811279-d5ad9cccf838?w=800" (Motorcycle engineering)
- "https://images.unsplash.com/photo-1609630875171-b1321377ee65?w=800" (Braking & wheels)
6. การเขียน Copywriting:
- "description": คุณสมบัติการขับขี่ การระบายความร้อน การลดระยะเบรก สมรรถนะในสนามแข่งและการใช้งานบนท้องถนน รุ่นรถที่รองรับ (Compatible models เช่น Forza 350, XMAX 300, Wave 125i, CBR650R)
- "details": วัสดุ (เช่น Billet Aluminum 6061-T6 CNC, Hard Anodized finish), ลูกสูบเบรก (Piston spec), การปรับพรีโหลด/รีบาวด์ (Preload & Rebound damping), มาตรฐาน มอก. หรือ Racing Certified
7. รองรับ 2 ภาษา (Bilingual): มีฟิลด์ "translations" ครบทั้ง "th" และ "en" สำหรับ "name", "description", "details"
8. โครงสร้างประเภทสินค้า:
- สินค้ามีสีอะโนไดซ์ / ความยาว (Variable): ปั๊มเบรกบน, โช้คอัพ ต้องมี "options": [{"name": "สีอะโนไดซ์", "values": ["Gold", "Red", "Black"]}] และ "variants" ที่มี option1 ตรงตาม values ทุกประการ
- สินค้าชิ้นเดียว (Simple): จานดิสก์เบรกแต่ง, สายเบรกถักหัวสแตนเลส (ใส่ price, stock, sku, barcode ที่ระดับบนสุด)
[ตัวอย่างรูปแบบ JSON ที่ต้องการ]:
[
{
"name": "ชุดปั๊มเบรกบนเรเดียลมาสเตอร์ไซลินเดอร์ Radial Master Cylinder S1 14mm",
"categoryName": "Master Cylinders & Levers",
"brandName": "RCB",
"description": "ปั๊มบนเรเดียลเกรดพรีเมียมจาก RCB รุ่น S1 ขนาดลูกสูบ 14 มม. ผลิตด้วยกระบวนการขึ้นรูป Forged Alloy แข็งแกร่งแต่น้ำหนักเบา ให้แรงกดเบรกที่นุ่มนวล แม่นยำ ฟีลลิ่งเบรกกระชับ รองรับรถสปอร์ตและบิ๊กสกู๊ตเตอร์ทุกรุ่น",
"details": "• ลูกสูบ: Forged Alloy 14mm Piston\n• วัสดุบอดี้: อลูมิเนียม Forged CNC ชุบผิว Hard Anodized ป้องกันสนิมและรอยขีดข่วน\n• ก้านเบรก: ปรับระยะได้ 6 ระดับ พร้อมร่องระบายลม Aerodynamic ป้องกันลมพัดก้านเบรกดีด\n• กระปุกน้ำมัน: กระปุกควัน Smokey Tank พร้อมขายึดอลูมิเนียมแต่ง\n• รุ่นรถที่รองรับ: Universal (แฮนด์บาร์ 22mm เช่น XMAX 300, Forza 350, R15, MT-15)",
"images": [
"https://images.unsplash.com/photo-1558981403-c5f9899a28bc?w=800"
],
"options": [
{
"name": "สีอะโนไดซ์",
"values": ["Anodized Gold", "Anodized Red", "Black Anodized"]
}
],
"variants": [
{
"option1": "Anodized Gold",
"price": 3850,
"stock": 30,
"sku": "RCB-S1-MC14-GLD",
"barcode": "8858340050011"
},
{
"option1": "Anodized Red",
"price": 3850,
"stock": 25,
"sku": "RCB-S1-MC14-RED",
"barcode": "8858340050028"
},
{
"option1": "Black Anodized",
"price": 3850,
"stock": 45,
"sku": "RCB-S1-MC14-BLK",
"barcode": "8858340050035"
}
],
"translations": {
"th": {
"name": "ชุดปั๊มเบรกบนเรเดียลมาสเตอร์ไซลินเดอร์ Radial Master Cylinder S1 14mm",
"description": "ปั๊มเบรกบนเกรดพรีเมียม ลูกสูบ 14 มม. ก้านปรับได้ 6 ระดับ เบรกนุ่มนวล แม่นยำ ทนทานสูง",
"details": "• ลูกสูบ: 14mm Forged Alloy\n• ปรับระยะก้านเบรก 6 ระดับ\n• รองรับแฮนด์บาร์ 22mm สากล"
},
"en": {
"name": "RCB S1 Radial Master Cylinder 14mm Lever Set",
"description": "High-performance forged radial master cylinder engineered with a 14mm piston for ultra-responsive and progressive braking feel. Ergonomic 6-position adjustable lever.",
"details": "• Piston Size: 14mm Forged Alloy\n• Material: High-grade CNC Forged Aluminum with Hard Anodizing\n• Fitment: Universal 22mm (7/8 inch) handlebar fitment (XMAX, Forza, CBR, etc.)\n• Includes smokey reservoir tank and mounting bracket"
}
}
},
{
"name": "จานดิสก์เบรกแต่งโฟลทติ้ง Floating Disc Rotor 260mm",
"categoryName": "Brake Systems & Calipers",
"brandName": "Brembo",
"price": 4200,
"stock": 40,
"sku": "BRM-DSC-FLT-260",
"barcode": "8858340060010",
"description": "จานเบรกกึ่งลอยตัว (Semi-Floating) ขนาด 260 มม. หมุดสแตนเลสคุณภาพสูง ใบจานผลิตจาก Stainless Steel 410 ป้องกันการคดงอจากความร้อนสะสม ช่วยระบายความร้อนได้เร็วกว่าจานเดิมติดรถถึง 35%",
"details": "• ขนาดจาน: เส้นผ่านศูนย์กลาง 260 มม. หนา 3.5 มม.\n• ใบจาน: High-Carbon Stainless Steel ทนความร้อนสูง\n• ไส้จาน: Billet 7075-T6 อลูมิเนียมเกรดอากาศยาน\n• หมุดโฟลทติ้ง: สแตนเลสสตีล 6 หมุด ทนทาน ไม่คลอน\n• การใช้งาน: รองรับระบบเบรก ABS หน้า",
"images": [
"https://images.unsplash.com/photo-1609630875171-b1321377ee65?w=800"
],
"translations": {
"th": {
"name": "จานดิสก์เบรกแต่งโฟลทติ้ง Floating Disc Rotor 260mm",
"description": "จานดิสก์เบรกแต่งกึ่งลอยตัว 260 มม. ระบายความร้อนดีเยี่ยม ป้องกันอาการเบรกเฟด",
"details": "• ขนาด: 260 มม. หนา 3.5 มม.\n• ใบจาน High-Carbon Stainless Steel\n• ไส้จาน 7075-T6 อลูมิเนียม CNC"
},
"en": {
"name": "High Performance Floating Brake Disc Rotor 260mm",
"description": "Premium 260mm semi-floating brake disc rotor with CNC machined 7075-T6 carrier. Engineered for rapid heat dissipation and fade-free stopping power.",
"details": "• Diameter: 260mm / Thickness: 3.5mm\n• Rotor Material: Heat-treated High Carbon Stainless Steel 410\n• Inner Carrier: Aerospace-grade Billet 7075-T6 Aluminum\n• Full ABS sensor ring compatibility"
}
}
}
]
```
---
## 💡 วิธีการนำไปใช้งาน
1. **คัดลอก Prompt ด้านบน** ส่งให้ LLM เช่น ChatGPT, Claude 3.5 Sonnet หรือ Gemini Pro
2. สามารถเพิ่มโจทย์จำนวนสินค้าและรุ่นรถได้ เช่น:
> *"ช่วยสร้างอะไหล่แต่งแนว RCB และ Brembo เพิ่มเติมอีก 10 รายการ โดยเน้นรุ่น XMAX 300, Forza 350 มีทั้งโช้คอัพหลัง YSS, คาลิปเปอร์เบรก 4 พอร์ต, ปั๊มบน และสายถัก Earl's"*
3. เมื่อ LLM ตอบกลับมาเป็น JSON ให้ Copy ทั้งก้อนไปที่ **Admin Portal (`moto.kittisak.com/admin/products`)** แล้วกดปุ่ม **"Import JSON"** เพื่อสร้างสินค้าเข้าฐานข้อมูลทันที