feat: 手机类别字段全面重构

- 删除原有简单字段(processor/ram_gb/storage_gb/screen_size/battery_mah)
- 新增52个详细字段,覆盖手机完整参数:
  - 基本信息:型号、品牌、发布日期、上市时间、产品级别、价格
  - 系统与处理器:操作系统、处理器(SoC)、GPU
  - 存储与内存:运行内存、存储空间、存储扩展
  - 屏幕:尺寸、类型、分辨率、刷新率、LTPO、亮度、屏幕特色
  - 摄像头:后置主摄、超广角、长焦、前置、视频录制、摄像头特色
  - 电池与充电:电池容量、有线快充、无线充电、电池特色
  - 连接与网络:运营商网络、Wi-Fi、蓝牙、NFC、红外遥控、定位、USB、SIM卡
  - 机身与外观:指纹识别、防水等级、面部识别、重量、厚度、材质、颜色、中框
  - 其他功能:扬声器、耳机接口、震动反馈
  - 特色与链接:特色、官网地址、数据参考、描述
- 字段名不带单位,数据提取时保留原始单位
- 更新子类别关键特性配置
- 智能添加prompt自动包含新字段配置
This commit is contained in:
2026-04-30 13:00:48 +08:00
parent ae23ec42ad
commit 2c981cb363

View File

@@ -745,34 +745,46 @@
"subcategories": [
{
"feature_labels": {
"price": "价格",
"processor": "处理器",
"ram_gb": "存",
"storage_gb": "存储"
"soc": "处理器",
"ram": "内存",
"rom": "存",
"screen_size": "屏幕",
"battery": "电池",
"fast_charge": "快充",
"rear_main_cam": "主摄",
"price": "价格"
},
"icon": "ri-star-line",
"id": "flagship",
"key_features": [
"processor",
"ram_gb",
"storage_gb",
"soc",
"ram",
"rom",
"screen_size",
"battery",
"fast_charge",
"rear_main_cam",
"price"
],
"name": "旗舰手机"
},
{
"feature_labels": {
"battery_mah": "电池",
"price": "价格",
"processor": "处理器",
"ram_gb": "内存"
"soc": "处理器",
"ram": "内存",
"rom": "存储",
"battery": "电池",
"rear_main_cam": "主摄",
"price": "价格"
},
"icon": "ri-price-tag-3-line",
"id": "midrange",
"key_features": [
"processor",
"ram_gb",
"battery_mah",
"soc",
"ram",
"rom",
"battery",
"rear_main_cam",
"price"
],
"name": "中端手机"
@@ -780,74 +792,394 @@
],
"fields": [
{
"description": "手机型号",
"key": "name",
"label": "名称",
"required": true,
"label": "型号",
"type": "text",
"description": "手机型号名称",
"required": true,
"input_style": "normal"
},
{
"description": "手机品牌",
"key": "brand",
"label": "品牌",
"type": "text",
"description": "小米/华为/Apple/荣耀等",
"required": true,
"type": "text",
"input_style": "normal"
},
{
"description": "CPU型号",
"key": "processor",
"label": "处理器",
"key": "release_date",
"label": "发布日期",
"type": "text",
"description": "产品发布日期格式YYYY年MM月DD日",
"required": false,
"type": "text",
"input_style": "normal"
},
{
"description": "RAM容量",
"key": "ram_gb",
"label": "内存(GB)",
"key": "market_date",
"label": "上市时间",
"type": "text",
"description": "产品上市日期格式YYYY年MM月DD日",
"required": false,
"type": "text",
"input_style": "normal"
},
{
"description": "存储容量",
"key": "storage_gb",
"label": "存储(GB)",
"key": "product_level",
"label": "产品级别",
"type": "text",
"description": "入门/中端/旗舰等",
"required": false,
"type": "text",
"input_style": "normal"
},
{
"description": "屏幕尺寸(英寸)",
"key": "screen_size",
"label": "屏幕尺寸",
"required": false,
"type": "text",
"input_style": "normal"
},
{
"description": "电池容量",
"key": "battery_mah",
"label": "电池(mAh)",
"required": false,
"type": "text",
"input_style": "normal"
},
{
"description": "参考价格",
"key": "price",
"label": "价格",
"required": false,
"type": "text",
"description": "参考价格",
"required": false,
"input_style": "normal"
},
{
"key": "os",
"label": "操作系统",
"type": "text",
"description": "Android/iOS/HarmonyOS等",
"required": false,
"input_style": "normal"
},
{
"key": "soc",
"label": "处理器",
"type": "text",
"description": "SoC/CPU型号如骁龙8至尊版、天玑9400、A18 Pro",
"required": false,
"input_style": "normal"
},
{
"key": "gpu",
"label": "GPU",
"type": "text",
"description": "图形处理芯片",
"required": false,
"input_style": "normal"
},
{
"key": "ram",
"label": "运行内存",
"type": "text",
"description": "如8GB/12GB/16GB",
"required": false,
"input_style": "normal"
},
{
"key": "rom",
"label": "存储空间",
"type": "text",
"description": "如128GB/256GB/512GB/1TB",
"required": false,
"input_style": "normal"
},
{
"key": "storage_expand",
"label": "存储扩展",
"type": "text",
"description": "TF卡等扩展方式",
"required": false,
"input_style": "normal"
},
{
"key": "screen_size",
"label": "屏幕尺寸",
"type": "text",
"description": "如6.3英寸",
"required": false,
"input_style": "normal"
},
{
"key": "screen_type",
"label": "屏幕类型",
"type": "text",
"description": "OLED/LCD/AMOLED",
"required": false,
"input_style": "normal"
},
{
"key": "resolution",
"label": "分辨率",
"type": "text",
"description": "1080P/1.5K/2K",
"required": false,
"input_style": "normal"
},
{
"key": "refresh_rate",
"label": "刷新率",
"type": "text",
"description": "60Hz/90Hz/120Hz/144Hz",
"required": false,
"input_style": "normal"
},
{
"key": "ltpo",
"label": "LTPO",
"type": "text",
"description": "自适应刷新率,省电",
"required": false,
"input_style": "normal"
},
{
"key": "brightness",
"label": "亮度",
"type": "text",
"description": "峰值亮度nit",
"required": false,
"input_style": "normal"
},
{
"key": "screen_feature",
"label": "屏幕特色",
"type": "text",
"description": "直屏/曲面屏、护眼调光等",
"required": false,
"input_style": "normal"
},
{
"key": "rear_main_cam",
"label": "后置主摄",
"type": "text",
"description": "像素、传感器型号、光圈",
"required": false,
"input_style": "normal"
},
{
"key": "rear_ultra_wide",
"label": "超广角",
"type": "text",
"description": "像素、视角",
"required": false,
"input_style": "normal"
},
{
"key": "rear_telephoto",
"label": "长焦",
"type": "text",
"description": "倍率3x/5x/10x",
"required": false,
"input_style": "normal"
},
{
"key": "front_cam",
"label": "前置摄像头",
"type": "text",
"description": "像素",
"required": false,
"input_style": "normal"
},
{
"key": "video_record",
"label": "视频录制",
"type": "text",
"description": "4K/8K、帧率",
"required": false,
"input_style": "normal"
},
{
"key": "cam_feature",
"label": "摄像头特色",
"type": "text",
"description": "徕卡/蔡司/哈苏、OIS光学防抖等",
"required": false,
"input_style": "normal"
},
{
"key": "battery",
"label": "电池容量",
"type": "text",
"description": "mAh4000-7000+",
"required": false,
"input_style": "normal"
},
{
"key": "fast_charge",
"label": "有线快充",
"type": "text",
"description": "功率33W/67W/100W/120W+",
"required": false,
"input_style": "normal"
},
{
"key": "wireless_charge",
"label": "无线充电",
"type": "text",
"description": "功率15W/50W等",
"required": false,
"input_style": "normal"
},
{
"key": "battery_feature",
"label": "电池特色",
"type": "text",
"description": "反向充电等",
"required": false,
"input_style": "normal"
},
{
"key": "network",
"label": "运营商网络",
"type": "text",
"description": "5G/4G支持",
"required": false,
"input_style": "normal"
},
{
"key": "wifi",
"label": "Wi-Fi",
"type": "text",
"description": "Wi-Fi 6/6E/7",
"required": false,
"input_style": "normal"
},
{
"key": "bluetooth",
"label": "蓝牙",
"type": "text",
"description": "5.3/5.4",
"required": false,
"input_style": "normal"
},
{
"key": "nfc",
"label": "NFC",
"type": "text",
"description": "刷公交、门禁、支付",
"required": false,
"input_style": "normal"
},
{
"key": "ir_remote",
"label": "红外遥控",
"type": "text",
"description": "是/否",
"required": false,
"input_style": "normal"
},
{
"key": "gps",
"label": "定位系统",
"type": "text",
"description": "GPS等",
"required": false,
"input_style": "normal"
},
{
"key": "usb_interface",
"label": "USB接口",
"type": "text",
"description": "Type-C/USB 3.0/2.0",
"required": false,
"input_style": "normal"
},
{
"key": "sim_card",
"label": "SIM卡",
"type": "text",
"description": "单卡/双卡",
"required": false,
"input_style": "normal"
},
{
"key": "fingerprint",
"label": "指纹识别",
"type": "text",
"description": "侧边/屏下超声波/屏下光学",
"required": false,
"input_style": "normal"
},
{
"key": "waterproof",
"label": "防水防尘等级",
"type": "text",
"description": "IP68/IP69/IP54等",
"required": false,
"input_style": "normal"
},
{
"key": "face_id",
"label": "面部识别",
"type": "text",
"description": "Face ID/3D结构光",
"required": false,
"input_style": "normal"
},
{
"key": "weight",
"label": "重量",
"type": "text",
"description": "克g",
"required": false,
"input_style": "normal"
},
{
"key": "thickness",
"label": "厚度",
"type": "text",
"description": "毫米mm",
"required": false,
"input_style": "normal"
},
{
"key": "body_material",
"label": "机身材质",
"type": "text",
"description": "玻璃/陶瓷/金属/素皮",
"required": false,
"input_style": "normal"
},
{
"key": "colors",
"label": "颜色",
"type": "text",
"description": "可选颜色",
"required": false,
"input_style": "normal"
},
{
"key": "frame_material",
"label": "中框材质",
"type": "text",
"description": "铝合金/钛合金",
"required": false,
"input_style": "normal"
},
{
"key": "speaker",
"label": "扬声器",
"type": "text",
"description": "单扬声器/立体声双扬声器",
"required": false,
"input_style": "normal"
},
{
"key": "headphone_jack",
"label": "耳机接口",
"type": "text",
"description": "3.5mm耳机孔",
"required": false,
"input_style": "normal"
},
{
"key": "vibration",
"label": "震动反馈",
"type": "text",
"description": "X轴线性马达",
"required": false,
"input_style": "normal"
},
{
"key": "features",
"label": "特色",
"type": "text",
"description": "产品特色/亮点,简短描述",
"description": "产品特色/亮点",
"required": false,
"input_style": "normal"
},
@@ -855,7 +1187,7 @@
"key": "official_urls",
"label": "官网地址",
"type": "json",
"description": "产品官网链接JSON数组格式[{\"url\":\"https://...\",\"title\":\"...\"}]",
"description": "产品官网链接",
"required": false,
"input_style": "long"
},
@@ -863,25 +1195,17 @@
"key": "reference_urls",
"label": "数据参考",
"type": "json",
"description": "参数来源链接JSON数组格式[{\"url\":\"https://...\",\"title\":\"...\"}]",
"description": "参数来源链接",
"required": false,
"input_style": "long"
},
{
"description": "产品简介",
"key": "description",
"label": "描述",
"required": false,
"type": "text",
"description": "产品简介",
"required": false,
"input_style": "long"
},
{
"description": "产品发布日期,格式 YYYY-MM-DD",
"key": "publish_date",
"label": "发布日期",
"required": false,
"type": "text",
"input_style": "normal"
}
],
"updated_at": "2026-04-28 18:28:01"