{
  "version": 1,
  "structures": [
    {
      "name": "review_insights_response",
      "description": "从一批商品评价中提炼出的洞察",
      "example": {
        "overall_sentiment": "positive",
        "common_themes": [
          "包装质量",
          "电池续航",
          "物流速度"
        ],
        "actionable_items": [
          "在商品详情页补充电池续航说明"
        ],
        "summary": "客户对电池续航很满意，但近期物流稍慢。"
      },
      "schema": {
        "type": "object",
        "properties": {
          "overall_sentiment": {
            "type": "string",
            "enum": [
              "positive",
              "neutral",
              "negative"
            ]
          },
          "common_themes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "actionable_items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "summary": {
            "type": "string"
          }
        },
        "required": [
          "overall_sentiment",
          "common_themes",
          "actionable_items",
          "summary"
        ],
        "additionalProperties": false
      }
    }
  ],
  "workflows": [
    {
      "name": "product_review_insights_workflow",
      "description": "把评价提炼为主题与行动建议",
      "provider": "openai",
      "model": "gpt-5.6-terra",
      "backups": [
        {
          "provider": "anthropic",
          "model": "claude-haiku-4-5-20251001"
        }
      ],
      "request_type": "chat",
      "system_instructions": "分析商品评价：给出整体情感倾向，列出客户反复提及的主题，并为团队提出可执行的具体建议。总结控制在几句话以内。",
      "structure": "review_insights_response",
      "customer_fields": [
        "product_name",
        "review_text",
        "rating"
      ],
      "test_mode": false,
      "cache_window_seconds": 900,
      "backend_pipeline": {
        "enabled": true,
        "events": [
          {
            "name": "review_received"
          },
          {
            "name": "insights_delivered"
          }
        ]
      }
    }
  ]
}
