feat: 智能补充参数功能 - 编辑已有产品时上传图片/文本补充缺失字段

This commit is contained in:
2026-04-28 10:09:58 +08:00
parent 438fba347a
commit a647179e72
4 changed files with 544 additions and 35 deletions

View File

@@ -11,7 +11,12 @@
"id": "chat",
"name": "对话模型",
"icon": "ri-chat-3-line",
"key_features": ["context_length", "mmlu", "input_price", "output_price"],
"key_features": [
"context_length",
"mmlu",
"input_price",
"output_price"
],
"feature_labels": {
"context_length": "上下文",
"mmlu": "MMLU",
@@ -23,7 +28,11 @@
"id": "code",
"name": "代码模型",
"icon": "ri-code-line",
"key_features": ["humaneval", "context_length", "input_price"],
"key_features": [
"humaneval",
"context_length",
"input_price"
],
"feature_labels": {
"humaneval": "HumanEval",
"context_length": "上下文",
@@ -34,7 +43,11 @@
"id": "reasoning",
"name": "推理模型",
"icon": "ri-lightbulb-line",
"key_features": ["reasoning_capability", "mmlu", "context_length"],
"key_features": [
"reasoning_capability",
"mmlu",
"context_length"
],
"feature_labels": {
"reasoning_capability": "推理能力",
"mmlu": "MMLU",
@@ -45,7 +58,11 @@
"id": "vision",
"name": "视觉模型",
"icon": "ri-image-line",
"key_features": ["vision_capability", "multimodal", "context_length"],
"key_features": [
"vision_capability",
"multimodal",
"context_length"
],
"feature_labels": {
"vision_capability": "视觉能力",
"multimodal": "多模态",
@@ -66,7 +83,12 @@
"id": "gaming",
"name": "游戏显卡",
"icon": "ri-gamepad-line",
"key_features": ["memory_gb", "cuda_cores", "price_usd", "fp16_tflops"],
"key_features": [
"memory_gb",
"cuda_cores",
"price_usd",
"fp16_tflops"
],
"feature_labels": {
"memory_gb": "显存",
"cuda_cores": "CUDA核心",
@@ -78,7 +100,12 @@
"id": "professional",
"name": "专业显卡",
"icon": "ri-building-line",
"key_features": ["memory_gb", "tensor_cores", "memory_bandwidth_gbs", "price_usd"],
"key_features": [
"memory_gb",
"tensor_cores",
"memory_bandwidth_gbs",
"price_usd"
],
"feature_labels": {
"memory_gb": "显存",
"tensor_cores": "Tensor核心",
@@ -90,7 +117,12 @@
"id": "datacenter",
"name": "数据中心",
"icon": "ri-server-line",
"key_features": ["memory_gb", "tensor_cores", "memory_bandwidth_gbs", "fp16_tflops"],
"key_features": [
"memory_gb",
"tensor_cores",
"memory_bandwidth_gbs",
"fp16_tflops"
],
"feature_labels": {
"memory_gb": "显存",
"tensor_cores": "Tensor核心",
@@ -112,7 +144,12 @@
"id": "desktop",
"name": "桌面CPU",
"icon": "ri-computer-line",
"key_features": ["cores", "threads", "boost_clock_ghz", "price_usd"],
"key_features": [
"cores",
"threads",
"boost_clock_ghz",
"price_usd"
],
"feature_labels": {
"cores": "核心",
"threads": "线程",
@@ -124,7 +161,12 @@
"id": "server",
"name": "服务器CPU",
"icon": "ri-server-line",
"key_features": ["cores", "threads", "l3_cache_mb", "tdp_watts"],
"key_features": [
"cores",
"threads",
"l3_cache_mb",
"tdp_watts"
],
"feature_labels": {
"cores": "核心",
"threads": "线程",
@@ -136,7 +178,12 @@
"id": "mobile",
"name": "移动CPU",
"icon": "ri-smartphone-line",
"key_features": ["cores", "threads", "base_clock_ghz", "tdp_watts"],
"key_features": [
"cores",
"threads",
"base_clock_ghz",
"tdp_watts"
],
"feature_labels": {
"cores": "核心",
"threads": "线程",
@@ -159,7 +206,12 @@
"id": "flagship",
"name": "旗舰手机",
"icon": "ri-star-line",
"key_features": ["processor", "ram_gb", "storage_gb", "price"],
"key_features": [
"processor",
"ram_gb",
"storage_gb",
"price"
],
"feature_labels": {
"processor": "处理器",
"ram_gb": "内存",
@@ -171,7 +223,12 @@
"id": "midrange",
"name": "中端手机",
"icon": "ri-price-tag-3-line",
"key_features": ["processor", "ram_gb", "battery_mah", "price"],
"key_features": [
"processor",
"ram_gb",
"battery_mah",
"price"
],
"feature_labels": {
"processor": "处理器",
"ram_gb": "内存",
@@ -193,7 +250,12 @@
"id": "gaming-laptop",
"name": "游戏笔记本",
"icon": "ri-gamepad-line",
"key_features": ["processor", "gpu", "ram_gb", "price"],
"key_features": [
"processor",
"gpu",
"ram_gb",
"price"
],
"feature_labels": {
"processor": "处理器",
"gpu": "显卡",
@@ -205,7 +267,12 @@
"id": "business-laptop",
"name": "商务笔记本",
"icon": "ri-briefcase-line",
"key_features": ["processor", "ram_gb", "weight_kg", "price"],
"key_features": [
"processor",
"ram_gb",
"weight_kg",
"price"
],
"feature_labels": {
"processor": "处理器",
"ram_gb": "内存",
@@ -228,7 +295,11 @@
"id": "sedan",
"name": "轿车",
"icon": "ri-car-line",
"key_features": ["engine", "power_kw", "price"],
"key_features": [
"engine",
"power_kw",
"price"
],
"feature_labels": {
"engine": "发动机",
"power_kw": "功率",
@@ -239,7 +310,11 @@
"id": "suv",
"name": "SUV",
"icon": "ri-truck-line",
"key_features": ["engine", "seats", "price"],
"key_features": [
"engine",
"seats",
"price"
],
"feature_labels": {
"engine": "发动机",
"seats": "座位数",
@@ -253,35 +328,46 @@
"name": "摄像",
"icon": "ri-camera-line",
"color": "blue",
"order": 0,
"order": 9,
"visible": true,
"description": "相机、摄像机等",
"created_at": "2026-04-25 16:38:47",
"subcategories": [
{
"id": "mirrorless",
"name": "无反相机",
"icon": "ri-camera-line",
"key_features": ["sensor", "megapixels", "video_resolution", "price"],
"feature_labels": {
"sensor": "传感器",
"megapixels": "像素",
"video_resolution": "视频",
"price": "价格"
}
"price": "价格",
"sensor": "传感器",
"video_resolution": "视频"
},
"icon": "ri-camera-line",
"id": "mirrorless",
"key_features": [
"sensor",
"megapixels",
"video_resolution",
"price"
],
"name": "无反相机"
},
{
"id": "dslr",
"name": "单反相机",
"icon": "ri-camera-2-line",
"key_features": ["sensor", "megapixels", "lens_mount", "price"],
"feature_labels": {
"sensor": "传感器",
"megapixels": "像素",
"lens_mount": "卡口",
"price": "价格"
}
"megapixels": "像素",
"price": "价格",
"sensor": "传感器"
},
"icon": "ri-camera-2-line",
"id": "dslr",
"key_features": [
"sensor",
"megapixels",
"lens_mount",
"price"
],
"name": "单反相机"
}
]
],
"updated_at": "2026-04-28 09:44:52"
}
]