业务需求
CreatedBy158
需求描述

FBA出单资料、实体生成资料、全套资料实体抽取落库及应用

需求详细文档:https://alidocs.dingtalk.com/i/nodes/oP0MALyR8k7y4Br5hYYAg4AD83bzYmDO?utm_scene=person_space
一、需求背景

在新架构标题生成过程中,需支持根据不同的输入资料来源进行差异化处理,以满足多场景下的实体抽取与应用需求。

结论:FBA出单资料、实体生成、全套资料优于首套资料实体,数据证明:

足7天出单率方向上实体替换组高于未进行实体替换的基准组,提39.70% 绝对 +0.00532 个百分点,呈现正向趋势(足7天观察期)。

from clipboard

备注:基准组为算法版本的首套资料实体抽取

二、实体生成类型定义

from clipboard

全套资料

三、实体抽取类型定义

见:实体分类类型划分:https://alidocs.dingtalk.com/i/nodes/Y1OQX0akWm30rO4Atbqk6gDGJGlDd3mE?utm_scene=person_space

四、服务修改说明

需求优化:

基于 https://pm.zhcxkj.com/zentao/story-view-36114.html 的需求基础上进行修改。36114 需求的核心是:AI直发通实体抽取应用,将实体来源从单一首套扩展为首套、全套可选,并在刊登/刷新服务中新增实体类型字段。

1.本次需求进一步优化,在 “传全套” 场景下增加对描述资料的标准化清洗(参考 4.2 类型 1 步骤二)。

2.新增FBA出单资料、实体生成资料初始化及自动执行

3.新增业务指定任务表

4.1 新增指定任务表

新增 指定FBA链接进行实体抽取表,

支持业务针对特定的SiteCode + SKU组合,触发“FBA出单资料实体抽取”的任务

输入字段

● SiteCode

● SKU

● OrderSourceId

● OrderSourceSku

● 标题

● 五点

● 描述

4.2 自动服务执行类型

类型 1:FBA出单资料

● 步骤一:筛选并确定FBA链接,筛选满足以下条件的FBA链接:

➢ 链接销量大于0;

➢ 链接状态为在线;

➢ 所属店铺状态正常;

➢ 所属站点为英语站点(US、AU、CA、GB);

➢ 所属部门为“智能研发”或“亚马逊平台运营中心”。

按 SiteCode + SKU + OrderSourceId + OrderSourceSku 聚合有效订单:

➢ 聚合后筛选销量大于0的链接;

➢ 每个 SiteCode + SKU 按销量降序,最多保留前5条链接。

● 步骤二:根据入选链接的 OrderSourceSku、OrderSourceId 调用接口http://amazonapi.zhcxkj.com/ListingInfoAttribute/GetMergeListingInfoAttributes 获取最新的:

➢ 标题;

➢ 五点描述;

➢ 产品描述。

产品描述按以下规则清洗:

1. 将转义的换行符还原为真实换行;

2. 解码HTML实体;

3. 移除HTML标签并保留段落换行;

4. 将不间断空格转换为普通空格;

5. 合并连续空白字符;

6. 删除空行及首尾空格;

7. 输出干净的纯文本描述。

def clean_product_desc(text):

   if pd.isna(text):

       return text



   text = str(text).replace("n", "n").replace("r", "")

   text = html.unescape(text)



   soup = BeautifulSoup(text, "html.parser")

   text = soup.get_text(separator="n")



   text = text.replace("xa0", " ")

   lines = [re.sub(r"s+", " ", line).strip() for line in text.splitlines()]

   lines = [line for line in lines if line]



   return "n".join(lines)

● 步骤三:以聚合后的 SiteCode + SKU 资料调用实体抽取批量接口 http://showdoc.zhcxkj.com/web//79/6726,接口返回实体。

● 步骤四:实体入库:

➢ 数据落到FBA出单资料实体库;

➢ 已存在的SiteCode + SKU 则覆盖;

➢ 新增实体的来源类型标记为“FBA出单资料”。

● 执行时机:

   ○ 首次全量执行:统计全部有效历史订单;预计处理约 33 万链接,23 万站点 SKU,英语站点(US、AU、CA、GB)

   ○ 增量执行:

➢ 每天执行一次;付款时间范围为昨天00:00至今天00:00,采用左闭右开区间;

➢ 仅处理该时间范围内有效订单的链接;

➢ 若该链接的站点SKU在系统中无历史实体抽取记录,则直接执行正常的资料抽取流程。若已有历史抽取记录,则检查历史已抽取的链接总数,若数量 ≥ 5,则本次不进行任何抽取操作,若数量 < 5,则需触发补充抽取:将历史任务指定的链接(链接状态为在线,所属店铺状态正常,英语站点(US、AU、CA、GB))与昨日产生出单的链接(按销量降序取前5条,不足5条从历史任务表中补足5条),重新聚合资料并进行实体抽取,覆盖该站点SKU原有的实体数据。

类型 2:实体生成

● 步骤一:

1. 处理对象筛选筛选符合以下条件的SKU、客户ID为1、非组合SKU、非成人用品、非高危产品、非停产产品、非仿牌产品、产品终审通过、主类目复审通过。产品表仅用于筛选SKU及获取图片。标题、五点、描述、实体名称和产品中文名称统一通过多套资料接口获取。

2. 确认已有的实体信息

执行实体生成前,必须确认当前 SiteCode + SKU 对应的以下任务均已执行完成一次完整的流程:

➢ 英文全套资料实体抽取成功;

➢ FBA出单资料实体抽取成功。

排除“实体生成来源”,读取全套资料、FBA出单资料下四类实体

➢ Applicable Object

➢ Applicable Scenario

➢ Functional Features

➢ Target User Group

同一类型内按实体词去重。某个类型无数据时传空数组;四个类型均无数据时传空对象,并继续根据产品文本和图片生成。

confirmed_entities: {

   Applicable Object: xxx,

   Applicable Scenario: xxx,

   Functional Features: xxx,

   Target User Group: xxx

 }

3. 获取产品图片:

➢ 从 rb_product.ImageUrl 获取产品首图;

➢ 从 rb_product_image 获取有效的非封面场景图,图片数量上限为 8 张(不含首图)。

● 处理规则:

➢ 首图固定排在第一位;

➢ 场景图排在首图之后;

➢ 图片URL为空或无效时丢弃;

➢ 首图与场景图按URL去重;

➢ 无可用图片时,使用文本资料继续生成。

WITH product_image AS (

SELECT

   U.SKU

   ,GROUP_CONCAT(CONCAT(", U.ImageUrl, ") SEPARATOR ,) AS ImageUrl

FROM zhcxkj_dw_bi.rb_product_image U

WHERE U.CustomerID = 1 AND U.Status != 2 AND U.IsCover != 1 AND U.IsScene = 1 AND EXISTS (

   SELECT 1 FROM zhcxkj_bi.rb_amazon_sku_entity_information e where U.sku = e.sku)

GROUP BY

   U.SKU

)

SELECT p.SKU sku,

      p.ProductName,

--       p.ProductDescription productDesc,

   TRIM(

           REGEXP_REPLACE(

                   REGEXP_REPLACE(

                           REPLACE(

                                   REPLACE(ProductDescription,  , ),

                                   <br />, n

                           ),

                           <[>]+>,

                           

                   ),

                   n[[:space:]]*n+,

                   n

           )

   ) AS productDesc,

      p.FeatureList featureList,

      p.AccurateKeyword product_entity_name,

      p.ProductNameCN product_chinese_title,

      PARSE_JSON(

              CONCAT(

                      [,

                      CASE

                          WHEN p.ImageUrl IS NOT NULL AND p.ImageUrl <> THEN CONCAT(", p.ImageUrl, ")

                          ELSE

                          END,

                      CASE

                          WHEN p.ImageUrl IS NOT NULL AND p.ImageUrl <>

                              AND e.ImageUrl IS NOT NULL AND e.ImageUrl <> THEN ,

                          ELSE

                          END,

                      CASE

                          WHEN e.ImageUrl IS NOT NULL AND e.ImageUrl <> THEN e.ImageUrl

                          ELSE

                          END,

                      ]

              )

      ) AS ImageUrl

FROM zhcxkj_dw_bi.rb_product  AS p

        LEFT JOIN zhcxkj_dw_bi.rb_product_admin pa ON p.sku = pa.sku

        LEFT JOIN product_image e ON e.SKU = p.SKU

WHERE p.CustomerID = 1

 AND p.IsGroup = 0             -- 是否为组合SKU产品(0:不是,1:是)

 AND p.IsAdultsOnly != 1       -- 非成人用品

 AND p.RiskLevel != 1          -- 非高危

 AND p.ProductState != 2       -- 非停产(去掉停产)

 AND p.ProductProperty != 2    -- 去掉仿牌 【产品属性】 产品属性 0 未选择 1 非仿牌 2 仿牌 3 灰色产品

 AND pa.CheckStatus = 1        -- 终审通过 审核状态 0 未审核   1  已审核   2 不通过

 AND pa.MainCategoryCheckStatus = 3  -- 复审通过 主类目审核状态,初审状态 0:待初审 1:初审通过 2:初审不通过 3:复审通过 4:复审不通过

 AND EXISTS (

   SELECT 1 FROM zhcxkj_bi.rb_amazon_sku_entity_information e where p.sku = e.sku and e.source = 全套资料

)

;

● 步骤二:调用批量实体生成批量接口 http://showdoc.zhcxkj.com/web//79/6997。

入参说明:model_name 固定为 gpt-5。

[{

 task_id: 15434076,

 sku: ,

 site_code: US,

 productName: 3Pcs Rugby Cake Molds Fondant Cooking Molds Creative Rugby Molds Transparent Rugby Molds,

 productDesc: DescriptionnMade of high-grade material, this baking mold is very durable. Nonstick surface is designed for easy release and cleaning. Decorative rugby shaped design can make the baked food more creative and attractive. Perfect for small rice cakes, custard cakes, cookies, chocolate, puddings, jelly and so on.nFeaturesn-Color:Transparentn-Material:ABSn- Size: 15.00X9.20X7.20cm/5.89X3.62X2.83in n- Size: 11.00X7.00X5.00cm/4.32X2.75X1.97in n- Size: 9.00X6.00X3.70cm/3.54X2.36X1.45in n-It is made of premium and sturdy material, sturdy and practical for a long-lasting use.n-Excellent heat conductivity and uniform baking to prevent hot spots and burning.n-Compact size and light in weight design, and this food making mold is easy to store and carry.n-Non-stick, this mold is easy and quick to demould with keeping the baked food intact.n-Use it to bake some cake, jelly, chocolate and rice cake for your families and friends.,

 featureList: It is made of premium and sturdy material, sturdy and practical for a long-lasting use.nExcellent heat conductivity and uniform baking to prevent hot spots and burning.nCompact size and light in weight design, and this food making mold is easy to store and carry.nNon-stick, this mold is easy and quick to demould with keeping the baked food intact.nUse it to bake some cake, jelly, chocolate and rice cake for your families and friends.,

 product_entity_name: 橄榄球模具,

 product_chinese_title: 3D立体橄榄球巧克模具美式足球3种不同大小蛋糕糖果烘焙装饰,

 image_urls: [https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/87095784d0b44a9caaeaaa6982ee0714/63cc86b9-e110-4cf0-83b1-eab9a4bed2b0.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e6b7e322c8374255bb5ac3a405018254/1dd6e612-08f5-45e5-bfab-853cbfe98286.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e2a3c86888794c36a8d17abab65fe0bd/25bb178c-1a30-434e-812f-49bab6d742d0.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e00cda487b2d4793b9e02ee827f911de/89fc9fcb-fbfd-4bb3-aa6c-1a5271d83f46.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/660cc72de5514e55b0cd1fbcc7db5502/bf78dbd7-b067-4324-be10-4fc708e083c0.jpg],

 confirmed_entities: {

   Applicable Object: [biscuits, chocolate, cookies, custard cakes, jelly, pudding, rice cake],

   Applicable Scenario: [DIY baking, bakery, cake shop, dessert shop, home kitchen, hotel, restaurant],

   Functional Features: [compact size, easy demoulding, easy to clean, easy to demold, easy to store, easy to tidy, healthy and practical, heat-resistant, high-temperature resistant, lightweight, non-stick, safe for food, uniform baking]

 },

 model_name: gpt-5,

 competitor_image_urls: [],

 competitor_data:

}

]

● 步骤三:清洗接口返回结果:

仅处理接口状态为成功的结果,并读取 expanded_entities

保留以下五种实体类型:

➢ Applicable Object

➢ Applicable Scenario

➢ Functional Features

➢ Purchase Motivation

➢ Target User Group

每个实体保留:

● 实体类型 value

● 实体词 value

● 置信度 confidence

{

 data: {

   expanded_entities: {

     Applicable Object: [{

       basis: Title explicitly states rebar marking; aligns with steel marking,

       confidence: high,

       risk: None,

       source: [product_text, confirmed_entity],

       value: rebar

     }, {

       basis: Marks on steel implies broader metal surface applicability,

       confidence: medium,

       risk: Generalization beyond steel may overreach,

       source: [product_text, product_logic],

       value: metal

     }, {

       basis: Marks on wood; timber is a common construction wood object,

       confidence: medium,

       risk: Subcategory wording not explicitly used,

       source: [product_text, product_logic],

       value: timber

     }, {

       basis: Concrete mentioned; construction site imagery suggests slab/floor layout marking,

       confidence: medium,

       risk: "Specific form slab not explicitly named",

       source: [product_text, product_image],

       value: concrete slab

     }, {

       basis: "Visual text says colored stone pencils; chalk often used on stone",

       confidence: low,

       risk: Product title/main text focus on industrial/steel/concrete; stone not confirmed,

       source: [product_image, product_logic],

       value: stone

     }, {

       basis: Industrial marking chalk commonly used to mark metal pipes,

       confidence: low,

       risk: Not explicitly supported by current text or images,

       source: [product_logic],

       value: pipes

     }],

     Applicable Scenario: [{

       basis: Image shows construction workers on-site; text emphasizes industrial marking tasks,

       confidence: high,

       risk: Assumes primary use on construction rather than other industrial settings,

       source: [product_image, product_text, product_logic],

       value: construction site

     }, {

       basis: Text mentions rebar and steel marking; typical setting is fabrication or welding prep,

       confidence: medium,

       risk: Specific shop environment not explicitly named,

       source: [product_text, product_logic],

       value: metal fabrication shop

     }, {

       basis: Product marks on wood and provides clear layout lines,

       confidence: medium,

       risk: May overlap with general woodworking outside heavy industry,

       source: [product_text, product_logic],

       value: carpentry layout

     }, {

       basis: Temporary chalk labeling fits industrial warehouses,

       confidence: low,

       risk: Not directly stated; environment inference could be too broad,

       source: [product_logic],

       value: warehouse labeling

     }],

     Functional Features: [{

       basis: Chalk markings are typically non-permanent and erasable,

       confidence: medium,

       risk: Reversibility not explicitly stated in text,

       source: [product_logic],

       value: temporary marks

     }, {

       basis: Described as large size producing clear, visible lines; stick breadth suggests wide strokes,

       confidence: medium,

       risk: Exact width or edge design not specified,

       source: [product_text, product_image],

       value: wide marking edge

     }, {

       basis: Concrete and wood are rough; chalk suitable for rough texture,

       confidence: medium,

       risk: Performance language could overclaim without direct text,

       source: [product_text, product_logic],

       value: works rough

     }, {

       basis: Chalk sticks are designed to be held and used manually,

       confidence: high,

       risk: Generic but accurate,

       source: [product_text, product_image],

       value: handheld use

     }],

     Purchase Motivation: [{

       basis: Text highlights clear, visible, precise lines,

       confidence: high,

       risk: None,

       source: [product_text],

       value: clear layout lines

     }, {

       basis: Resistant to breakage and reinforced design,

       confidence: high,

       risk: Paraphrase but consistent,

       source: [product_text],

       value: won’t easily

     }, {

       basis: Sufficient pieces in one box; 18 pcs,

       confidence: high,

       risk: Value perception varies,

       source: [product_text],

       value: bulk value pack

     }, {

       basis: Marks on steel, concrete, wood; industrial environments,

       confidence: medium,

       risk: Broad phrasing,

       source: [product_text],

       value: works tough

     }, {

       basis: Smudge-resistant/reinforced design to prevent smudging,

       confidence: high,

       risk: None,

       source: [product_text],

       value: less smudging

     }],

     Target User Group: [{

       basis: Image depicts construction crew; industrial marking for concrete/rebar aligns,

       confidence: high,

       risk: Assumes primary buyer within construction,

       source: [product_image, product_text],

       value: construction workers

     }, {

       basis: Rebar and steel marking suggests fabrication and welding prep users,

       confidence: medium,

       risk: Not explicitly named,

       source: [product_text, product_logic],

       value: metal fabricators

     }, {

       basis: Marks on wood for layout lines fits carpentry tasks,

       confidence: medium,

       risk: Could overlap with general DIY woodworkers,

       source: [product_text, product_logic],

       value: carpenters

     }, {

       basis: Chalk often used for temporary site marks during layout,

       confidence: low,

       risk: Not supported by text or images,

       source: [product_logic],

       value: surveyors

     }]

   },

   product_analysis: {

     core_product: Industrial marking chalk sticks (white, large size) for making lines on hard surfaces such as steel, concrete, and wood,

     key_constraints: [Industrial-oriented use emphasized, White color only, Chalk-based, temporary markings],

     solved_problem: Provides clear, visible, durable marks for layout and labeling in tough work environments without frequent breakage or smudging,

     use_actions: [marking lines, labeling parts, layout marking, temporary surface marking],

     visible_image_evidence: [Multiple white rectangular chalk sticks, Workers on a construction site wearing hard hats and vests]

   },

   rejected_candidates: [{

     entity_type: Functional Features,

     reason: No evidence of water-resistant or wet-surface performance,

     value: wet surface marking

   }, {

     entity_type: Applicable Scenario,

     reason: Product is industrial marking chalk for hard surfaces, not classroom chalkboards,

     value: blackboard use

   }, {

     entity_type: Applicable Scenario,

     reason: No fabric/sewing context; material and text focus on steel/concrete/wood,

     value: tailor marking

   }, {

     entity_type: Target User Group,

     reason: DIY audience not explicitly supported; industrial focus,

     value: DIY enthusiasts

   }, {

     entity_type: Functional Features,

     reason: Chalk is generally temporary; permanence not claimed,

     value: permanent marking

   }]

 },

 input_text: {

   competitor_data: [],

   competitor_image_urls: [],

   confirmed_entities: {

     Applicable Object: [concrete, steel, wood],

     Applicable Scenario: [industrial applications, industrial use],

     Functional Features: [abundant supply, accurate marking, breakage resistant, clear visible lines, durable, long-lasting performance, marks on concrete, marks on steel, marks on wood, precise marking, reliable performance, resistant to breakage, smudge resistant, smudge-resistant, suitable for industrial use, wear resistant]

   },

   featureList: "The  Industrial Marking Chalk offers several key features that make it a standout choice. |Its large size allows for precise and accurate marking, ensuring your lines are clear and easy to follow. |The use of stable material guarantees durability, making it resistant to breakage even in demanding work environments. |The reinforced design ensures that the chalk can use with ease, preventing any accidental smudging or breaking. |With sufficient pieces in one box, youll have plenty of chalk to tackle any marking task.",

   image_urls: [https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/19162867/2024/06/07/e82e200dd4934dcda71ff3c1a3f43ac5/967860fa-7c92-40ed-ab25-f8f5e627eefc.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/19162867/2024/06/07/e2c500e4442d42cc9cf13e24218c11f4/7b842dde-c4fd-4992-a961-bedbcbffed9b.jpg],

   productDesc: "DescriptionnThe Marking  Chalk  for Industrial is a versatile tool for precise marking and labeling. Its large size allows for clear and visible lines, making it perfect for industrial use. Made from durable material, this chalk is resistant to breakage and ensures long-lasting performance. The reinforced design prevents the chalk from easily broken up, providing a reliable marking solution. With bulk pieces in one box, youll have an abundant supply to meet your marking needs.  nFeaturesn-Color:Whiten-Material:Chalkn-Size:10.00X1.20X0.40cm/3.93X0.47X0.16inn-The  Industrial Marking Chalk offers several key features that make it a standout choice. n-Its large size allows for precise and accurate marking, ensuring your lines are clear and easy to follow. n-The use of stable material guarantees durability, making it resistant to breakage even in demanding work environments. n-The reinforced design ensures that the chalk can use with ease, preventing any accidental smudging or breaking. n-With sufficient pieces in one box, youll have plenty of chalk to tackle any marking task.",

   productName: 18Pcs Industrial Marking Chalk Large Marking Tool Industrial Mark Chalk White Chalk Rebar Marking Chalk,

   product_chinese_title: 记号画笔彩色石笔工业滑石大号划线钢筋粉笔(常用款一盒(100*12*4)毫米共18支),

   product_entity_name: 石笔粉笔

 },

 message: 资料外实体拓展成功,基础数据来源为请求输入,

 site_code: US,

 sku: ,

 status: success,

 task_id: 19162867

}

● 步骤四:实体入库:

● 已存在相同实体时不重复新增,但更新置信度

● 新实体正常新增

● 标记来源类型为 实体生成来源

● 不得覆盖全套资料或FBA出单资料来源的实体

● 执行时机:

   ○ 首次初始化

➢ 按US执行全量初始化;

   ○ 增量触发

➢ 全套资料实体集合变化,参考需求:https://pm.zhcxkj.com/zentao/story-view-34074.html

➢ 统一触发链路:全套资料抽取成功 → FBA资料抽取成功或无数据成功 → 实体生成

需支持的服务功能调整

针对以下两个服务进行功能扩展,使其支持上述 2 个来源的实体处理:

1. 指定 listing 刊登(含 SKU)

2. 指定 listing 刷新(含 SKU)

五、应用文档:

https://alidocs.dingtalk.com/i/nodes/o14dA3GK8g50BqLnFn2P0EL9V9ekBD76?utm_scene=person_space

验收标准
158Create
价值描述
200000元/月
历史记录  
  1. 2026-08-03 11:53:33, 由 戴宝山 创建。
  2. 2026-08-03 16:57:34, 由 戴宝山 变更。
    修改了 指派给 ,旧值为 "daibaoshan",新值为 "zhanghua"。
    修改了 版本号 ,旧值为 "1",新值为 "2"。
    修改了 需求描述,区别为:
    001- FBA出单资料、实体生成资料、全套资料实体抽取落库及应用需求详细文档:https://alidocs.dingtalk.com/i/nodes/oP0MALyR8k7y4Br5hYYAg4AD83bzYmDO?utm_scene=person_space一、需求背景在新架构标题生成过程中,需支持根据不同的输入资料来源进行差异化处理,以满足多场景下的实体抽取与应用需求。结论:FBA出单资料、实体生成、全套资料优于首套资料实体,数据证明:足7天出单率方向上实体替换组高于未进行实体替换的基准组,提39.70% 绝对 +0.00532 个百分点,呈现正向趋势(足7天观察期)。<img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/eee386a563fb4e5eae6ad47e57c4e67a/7406aa3a-28c1-4104-933e-094247ed0014.png" title="from clipboard" alt="from clipboard" />备注:基准组为算法版本的首套资料实体抽取二、实体生成类型定义<img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" />全套资料三、实体抽取类型定义见:实体分类类型划分:https://alidocs.dingtalk.com/i/nodes/Y1OQX0akWm30rO4Atbqk6gDGJGlDd3mE?utm_scene=person_space四、服务修改说明需求优化:基于 https://pm.zhcxkj.com/zentao/story-view-36114.html 的需求基础上进行修改。36114 需求的核心是:AI直发通实体抽取应用,将实体来源从单一首套扩展为首套、全套可选,并在刊登/刷新服务中新增实体类型字段。1.本次需求进一步优化,在 “传全套” 场景下增加对描述资料的标准化清洗(参考 4.2 类型 1 步骤二)。2.新增FBA出单资料、实体生成资料初始化及自动执行3.新增业务指定任务表4.1 新增指定任务表新增 指定FBA链接进行实体抽取表,支持业务针对特定的SiteCode + SKU组合,触发“FBA出单资料实体抽取”的任务输入字段● SiteCode● SKU● OrderSourceId● OrderSourceSku● 标题● 五点● 描述4.2 自动服务执行类型类型 1:FBA出单资料● 步骤一:筛选并确定FBA链接,筛选满足以下条件的FBA链接:➢ 链接销量大于0;➢ 链接状态为在线;➢ 所属店铺状态正常;➢ 所属站点为英语站点(US、AU、CA、GB);➢ 所属部门为“智能研发”或“亚马逊平台运营中心”。按 SiteCode + SKU + OrderSourceId + OrderSourceSku 聚合有效订单:➢ 聚合后筛选销量大于0的链接;➢ 每个 SiteCode + SKU 按销量降序,最多保留前5条链接。● 步骤二:根据入选链接的 OrderSourceSku、OrderSourceId 调用接口http://amazonapi.zhcxkj.com/ListingInfoAttribute/GetMergeListingInfoAttributes 获取最新的:➢ 标题;➢ 五点描述;➢ 产品描述。产品描述按以下规则清洗:1. 将转义的换行符还原为真实换行;2. 解码HTML实体;3. 移除HTML标签并保留段落换行;4. 将不间断空格转换为普通空格;5. 合并连续空白字符;6. 删除空行及首尾空格;7. 输出干净的纯文本描述。def clean_product_desc(text): if pd.isna(text): return text text = str(text).replace("n", "n").replace("r", "") text = html.unescape(text) soup = BeautifulSoup(text, "html.parser") text = soup.get_text(separator="n") text = text.replace("xa0", " ") lines = [re.sub(r"s+", " ", line).strip() for line in text.splitlines()] lines = [line for line in lines if line] return "n".join(lines)● 步骤三:以聚合后的 SiteCode + SKU 资料调用实体抽取批量接口 http://showdoc.zhcxkj.com/web//79/6726,接口返回实体。● 步骤四:实体入库:➢ 数据落到FBA出单资料实体库;➢ 已存在的SiteCode + SKU 则覆盖;➢ 新增实体的来源类型标记为“FBA出单资料”。● 执行时机: ○ 首次全量执行:统计全部有效历史订单;预计处理约 33 万链接,23 万站点 SKU,英语站点(US、AU、CA、GB) ○ 增量执行:➢ 每天执行一次;付款时间范围为昨天00:00至今天00:00,采用左闭右开区间;➢ 仅处理该时间范围内有效订单的链接;➢ 若该链接的站点SKU在系统中无历史实体抽取记录,则直接执行正常的资料抽取流程。若已有历史抽取记录,则检查历史已抽取的链接总数,若数量 ≥ 5,则本次不进行任何抽取操作,若数量 < 5,则需触发补充抽取:将历史任务指定的链接(链接状态为在线,所属店铺状态正常,英语站点(US、AU、CA、GB))与昨日产生出单的链接(按销量降序取前5条,不足5条从历史任务表中补足5条),重新聚合资料并进行实体抽取,覆盖该站点SKU原有的实体数据。类型 2:实体生成● 步骤一:1. 处理对象筛选筛选符合以下条件的SKU、客户ID为1、非组合SKU、非成人用品、非高危产品、非停产产品、非仿牌产品、产品终审通过、主类目复审通过。产品表仅用于筛选SKU及获取图片。标题、五点、描述、实体名称和产品中文名称统一通过多套资料接口获取。2. 确认已有的实体信息执行实体生成前,必须确认当前 SiteCode + SKU 对应的以下任务均已执行完成一次完整的流程:➢ 英文全套资料实体抽取成功;➢ FBA出单资料实体抽取成功。排除“实体生成来源”,读取全套资料、FBA出单资料下四类实体➢ Applicable Object➢ Applicable Scenario➢ Functional Features➢ Target User Group同一类型内按实体词去重。某个类型无数据时传空数组;四个类型均无数据时传空对象,并继续根据产品文本和图片生成。confirmed_entities: { Applicable Object: xxx, Applicable Scenario: xxx, Functional Features: xxx, Target User Group: xxx}3. 获取产品图片:➢ 从 rb_product.ImageUrl 获取产品首图;➢ 从 rb_product_image 获取有效的非封面场景图,图片数量上限为 8 张(不含首图)。● 处理规则:➢ 首图固定排在第一位;➢ 场景图排在首图之后;➢ 图片URL为空或无效时丢弃;➢ 首图与场景图按URL去重;➢ 无可用图片时,使用文本资料继续生成。WITH product_image AS (SELECT U.SKU ,GROUP_CONCAT(CONCAT(", U.ImageUrl, ") SEPARATOR ,) AS ImageUrlFROM zhcxkj_dw_bi.rb_product_image UWHERE U.CustomerID = 1 AND U.Status != 2 AND U.IsCover != 1 AND U.IsScene = 1 AND EXISTS ( SELECT 1 FROM zhcxkj_bi.rb_amazon_sku_entity_information e where U.sku = e.sku)GROUP BY U.SKU)SELECT p.SKU sku, p.ProductName,-- p.ProductDescription productDesc, TRIM( REGEXP_REPLACE( REGEXP_REPLACE( REPLACE( REPLACE(ProductDescription, &amp;nbsp;, ), &lt;br /&gt;, n ), &lt;[&gt;]+&gt;, ), n[[:space:]]*n+, n ) ) AS productDesc, p.FeatureList featureList, p.AccurateKeyword product_entity_name, p.ProductNameCN product_chinese_title, PARSE_JSON( CONCAT( [, CASE WHEN p.ImageUrl IS NOT NULL AND p.ImageUrl &lt;&gt; THEN CONCAT(", p.ImageUrl, ") ELSE END, CASE WHEN p.ImageUrl IS NOT NULL AND p.ImageUrl &lt;&gt; AND e.ImageUrl IS NOT NULL AND e.ImageUrl &lt;&gt; THEN , ELSE END, CASE WHEN e.ImageUrl IS NOT NULL AND e.ImageUrl &lt;&gt; THEN e.ImageUrl ELSE END, ] ) ) AS ImageUrlFROM zhcxkj_dw_bi.rb_product AS p LEFT JOIN zhcxkj_dw_bi.rb_product_admin pa ON p.sku = pa.sku LEFT JOIN product_image e ON e.SKU = p.SKUWHERE p.CustomerID = 1AND p.IsGroup = 0 -- 是否为组合SKU产品(0:不是,1:是)AND p.IsAdultsOnly != 1 -- 非成人用品AND p.RiskLevel != 1 -- 非高危AND p.ProductState != 2 -- 非停产(去掉停产)AND p.ProductProperty != 2 -- 去掉仿牌 【产品属性】 产品属性 0 未选择 1 非仿牌 2 仿牌 3 灰色产品AND pa.CheckStatus = 1 -- 终审通过 审核状态 0 未审核 1 已审核 2 不通过AND pa.MainCategoryCheckStatus = 3 -- 复审通过 主类目审核状态,初审状态 0:待初审 1:初审通过 2:初审不通过 3:复审通过 4:复审不通过AND EXISTS ( SELECT 1 FROM zhcxkj_bi.rb_amazon_sku_entity_information e where p.sku = e.sku and e.source = 全套资料);● 步骤二:调用批量实体生成批量接口 http://showdoc.zhcxkj.com/web//79/6997。入参说明:model_name 固定为 gpt-5。[{task_id: 15434076,sku: ,site_code: US,productName: 3Pcs Rugby Cake Molds Fondant Cooking Molds Creative Rugby Molds Transparent Rugby Molds,productDesc: DescriptionnMade of high-grade material, this baking mold is very durable. Nonstick surface is designed for easy release and cleaning. Decorative rugby shaped design can make the baked food more creative and attractive. Perfect for small rice cakes, custard cakes, cookies, chocolate, puddings, jelly and so on.nFeaturesn-Color:Transparentn-Material:ABSn- Size: 15.00X9.20X7.20cm/5.89X3.62X2.83in n- Size: 11.00X7.00X5.00cm/4.32X2.75X1.97in n- Size: 9.00X6.00X3.70cm/3.54X2.36X1.45in n-It is made of premium and sturdy material, sturdy and practical for a long-lasting use.n-Excellent heat conductivity and uniform baking to prevent hot spots and burning.n-Compact size and light in weight design, and this food making mold is easy to store and carry.n-Non-stick, this mold is easy and quick to demould with keeping the baked food intact.n-Use it to bake some cake, jelly, chocolate and rice cake for your families and friends.,featureList: It is made of premium and sturdy material, sturdy and practical for a long-lasting use.nExcellent heat conductivity and uniform baking to prevent hot spots and burning.nCompact size and light in weight design, and this food making mold is easy to store and carry.nNon-stick, this mold is easy and quick to demould with keeping the baked food intact.nUse it to bake some cake, jelly, chocolate and rice cake for your families and friends.,product_entity_name: 橄榄球模具,product_chinese_title: 3D立体橄榄球巧克模具美式足球3种不同大小蛋糕糖果烘焙装饰,image_urls: [https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/87095784d0b44a9caaeaaa6982ee0714/63cc86b9-e110-4cf0-83b1-eab9a4bed2b0.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e6b7e322c8374255bb5ac3a405018254/1dd6e612-08f5-45e5-bfab-853cbfe98286.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e2a3c86888794c36a8d17abab65fe0bd/25bb178c-1a30-434e-812f-49bab6d742d0.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e00cda487b2d4793b9e02ee827f911de/89fc9fcb-fbfd-4bb3-aa6c-1a5271d83f46.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/660cc72de5514e55b0cd1fbcc7db5502/bf78dbd7-b067-4324-be10-4fc708e083c0.jpg],confirmed_entities: { Applicable Object: [biscuits, chocolate, cookies, custard cakes, jelly, pudding, rice cake], Applicable Scenario: [DIY baking, bakery, cake shop, dessert shop, home kitchen, hotel, restaurant], Functional Features: [compact size, easy demoulding, easy to clean, easy to demold, easy to store, easy to tidy, healthy and practical, heat-resistant, high-temperature resistant, lightweight, non-stick, safe for food, uniform baking]},model_name: gpt-5,competitor_image_urls: [],competitor_data: }]● 步骤三:清洗接口返回结果:仅处理接口状态为成功的结果,并读取 expanded_entities保留以下五种实体类型:➢ Applicable Object➢ Applicable Scenario➢ Functional Features➢ Purchase Motivation➢ Target User Group每个实体保留:● 实体类型 value● 实体词 value● 置信度 confidence{data: { expanded_entities: { Applicable Object: [{ basis: Title explicitly states rebar marking; aligns with steel marking, confidence: high, risk: None, source: [product_text, confirmed_entity], value: rebar }, { basis: Marks on steel implies broader metal surface applicability, confidence: medium, risk: Generalization beyond steel may overreach, source: [product_text, product_logic], value: metal }, { basis: Marks on wood; timber is a common construction wood object, confidence: medium, risk: Subcategory wording not explicitly used, source: [product_text, product_logic], value: timber }, { basis: Concrete mentioned; construction site imagery suggests slab/floor layout marking, confidence: medium, risk: "Specific form slab not explicitly named", source: [product_text, product_image], value: concrete slab }, { basis: "Visual text says colored stone pencils; chalk often used on stone", confidence: low, risk: Product title/main text focus on industrial/steel/concrete; stone not confirmed, source: [product_image, product_logic], value: stone }, { basis: Industrial marking chalk commonly used to mark metal pipes, confidence: low, risk: Not explicitly supported by current text or images, source: [product_logic], value: pipes }], Applicable Scenario: [{ basis: Image shows construction workers on-site; text emphasizes industrial marking tasks, confidence: high, risk: Assumes primary use on construction rather than other industrial settings, source: [product_image, product_text, product_logic], value: construction site }, { basis: Text mentions rebar and steel marking; typical setting is fabrication or welding prep, confidence: medium, risk: Specific shop environment not explicitly named, source: [product_text, product_logic], value: metal fabrication shop }, { basis: Product marks on wood and provides clear layout lines, confidence: medium, risk: May overlap with general woodworking outside heavy industry, source: [product_text, product_logic], value: carpentry layout }, { basis: Temporary chalk labeling fits industrial warehouses, confidence: low, risk: Not directly stated; environment inference could be too broad, source: [product_logic], value: warehouse labeling }], Functional Features: [{ basis: Chalk markings are typically non-permanent and erasable, confidence: medium, risk: Reversibility not explicitly stated in text, source: [product_logic], value: temporary marks }, { basis: Described as large size producing clear, visible lines; stick breadth suggests wide strokes, confidence: medium, risk: Exact width or edge design not specified, source: [product_text, product_image], value: wide marking edge }, { basis: Concrete and wood are rough; chalk suitable for rough texture, confidence: medium, risk: Performance language could overclaim without direct text, source: [product_text, product_logic], value: works rough }, { basis: Chalk sticks are designed to be held and used manually, confidence: high, risk: Generic but accurate, source: [product_text, product_image], value: handheld use }], Purchase Motivation: [{ basis: Text highlights clear, visible, precise lines, confidence: high, risk: None, source: [product_text], value: clear layout lines }, { basis: Resistant to breakage and reinforced design, confidence: high, risk: Paraphrase but consistent, source: [product_text], value: won’t easily }, { basis: Sufficient pieces in one box; 18 pcs, confidence: high, risk: Value perception varies, source: [product_text], value: bulk value pack }, { basis: Marks on steel, concrete, wood; industrial environments, confidence: medium, risk: Broad phrasing, source: [product_text], value: works tough }, { basis: Smudge-resistant/reinforced design to prevent smudging, confidence: high, risk: None, source: [product_text], value: less smudging }], Target User Group: [{ basis: Image depicts construction crew; industrial marking for concrete/rebar aligns, confidence: high, risk: Assumes primary buyer within construction, source: [product_image, product_text], value: construction workers }, { basis: Rebar and steel marking suggests fabrication and welding prep users, confidence: medium, risk: Not explicitly named, source: [product_text, product_logic], value: metal fabricators }, { basis: Marks on wood for layout lines fits carpentry tasks, confidence: medium, risk: Could overlap with general DIY woodworkers, source: [product_text, product_logic], value: carpenters }, { basis: Chalk often used for temporary site marks during layout, confidence: low, risk: Not supported by text or images, source: [product_logic], value: surveyors }] }, product_analysis: { core_product: Industrial marking chalk sticks (white, large size) for making lines on hard surfaces such as steel, concrete, and wood, key_constraints: [Industrial-oriented use emphasized, White color only, Chalk-based, temporary markings], solved_problem: Provides clear, visible, durable marks for layout and labeling in tough work environments without frequent breakage or smudging, use_actions: [marking lines, labeling parts, layout marking, temporary surface marking], visible_image_evidence: [Multiple white rectangular chalk sticks, Workers on a construction site wearing hard hats and vests] }, rejected_candidates: [{ entity_type: Functional Features, reason: No evidence of water-resistant or wet-surface performance, value: wet surface marking }, { entity_type: Applicable Scenario, reason: Product is industrial marking chalk for hard surfaces, not classroom chalkboards, value: blackboard use }, { entity_type: Applicable Scenario, reason: No fabric/sewing context; material and text focus on steel/concrete/wood, value: tailor marking }, { entity_type: Target User Group, reason: DIY audience not explicitly supported; industrial focus, value: DIY enthusiasts }, { entity_type: Functional Features, reason: Chalk is generally temporary; permanence not claimed, value: permanent marking }]},input_text: { competitor_data: [], competitor_image_urls: [], confirmed_entities: { Applicable Object: [concrete, steel, wood], Applicable Scenario: [industrial applications, industrial use], Functional Features: [abundant supply, accurate marking, breakage resistant, clear visible lines, durable, long-lasting performance, marks on concrete, marks on steel, marks on wood, precise marking, reliable performance, resistant to breakage, smudge resistant, smudge-resistant, suitable for industrial use, wear resistant] }, featureList: "The Industrial Marking Chalk offers several key features that make it a standout choice. |Its large size allows for precise and accurate marking, ensuring your lines are clear and easy to follow. |The use of stable material guarantees durability, making it resistant to breakage even in demanding work environments. |The reinforced design ensures that the chalk can use with ease, preventing any accidental smudging or breaking. |With sufficient pieces in one box, youll have plenty of chalk to tackle any marking task.", image_urls: [https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/19162867/2024/06/07/e82e200dd4934dcda71ff3c1a3f43ac5/967860fa-7c92-40ed-ab25-f8f5e627eefc.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/19162867/2024/06/07/e2c500e4442d42cc9cf13e24218c11f4/7b842dde-c4fd-4992-a961-bedbcbffed9b.jpg], productDesc: "DescriptionnThe Marking Chalk for Industrial is a versatile tool for precise marking and labeling. Its large size allows for clear and visible lines, making it perfect for industrial use. Made from durable material, this chalk is resistant to breakage and ensures long-lasting performance. The reinforced design prevents the chalk from easily broken up, providing a reliable marking solution. With bulk pieces in one box, youll have an abundant supply to meet your marking needs. nFeaturesn-Color:Whiten-Material:Chalkn-Size:10.00X1.20X0.40cm/3.93X0.47X0.16inn-The Industrial Marking Chalk offers several key features that make it a standout choice. n-Its large size allows for precise and accurate marking, ensuring your lines are clear and easy to follow. n-The use of stable material guarantees durability, making it resistant to breakage even in demanding work environments. n-The reinforced design ensures that the chalk can use with ease, preventing any accidental smudging or breaking. n-With sufficient pieces in one box, youll have plenty of chalk to tackle any marking task.", productName: 18Pcs Industrial Marking Chalk Large Marking Tool Industrial Mark Chalk White Chalk Rebar Marking Chalk, product_chinese_title: 记号画笔彩色石笔工业滑石大号划线钢筋粉笔(常用款一盒(100*12*4)毫米共18支), product_entity_name: 石笔粉笔},message: 资料外实体拓展成功,基础数据来源为请求输入,site_code: US,sku: ,status: success,task_id: 19162867}● 步骤四:实体入库:● 已存在相同实体时不重复新增,但更新置信度● 新实体正常新增● 标记来源类型为 实体生成来源● 不得覆盖全套资料或FBA出单资料来源的实体● 执行时机: ○ 首次初始化➢ 按US执行全量初始化; ○ 增量触发➢ 全套资料实体集合变化,参考需求:https://pm.zhcxkj.com/zentao/story-view-34074.html➢ 统一触发链路:全套资料抽取成功 → FBA资料抽取成功或无数据成功 → 实体生成需支持的服务功能调整针对以下两个服务进行功能扩展,使其支持上述 2 个来源的实体处理:1. 指定 listing 刊登(含 SKU)2. 指定 listing 刷新(含 SKU)五、应用文档:https://alidocs.dingtalk.com/i/nodes/o14dA3GK8g50BqLnFn2P0EL9V9ekBD76?utm_scene=person_space
    001+ FBA出单资料、实体生成资料、全套资料实体抽取落库及应用
    002+ 需求详细文档:https://alidocs.dingtalk.com/i/nodes/oP0MALyR8k7y4Br5hYYAg4AD83bzYmDO?utm_scene=person_space一、需求背景
    003+ 基于实体抽取应用效果,调整线上实体抽取的逻辑,增加数据来源
    004+
    005+
    006+ 需求实现:
    007+ 一、实体生成类型定义
    008+ <img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" />
    009+ 二、调整原实体存储逻辑
    010+ a、实体类型修改为两种类型(新增一个字段来记录),一种是抽取,一种是生成,原多套资料的实体和FBA出单的实体都是抽取,新增的实体生成为生成类型。
    011+ b、原实体类型字段改到具体实体关键词维度记录(全套资料为2,FBA资料为3),即每一个实体词都有一个类型,原多套资料初始化的实体类型字段要调整位置,新增的FBA的插入,如果是多个类型则该实体词记录多个类型
    012+ 举例:
    013+ "Applicable Scenario": [ {"keyword":"Sport","type":"2,3"},{"keyword":"Home","type":"2,3"}],
    014+ "Color": [ {"keyword":"Red","type":"2"}],
    015+ "Core Product Term": [ {"keyword":"Mask","type":"2"} ],
    016+ "Material": [ {"keyword":"PP","type":"2"} ],
    017+ "Product Accessories": [ {"keyword":"Bag","type":"2"}],
    018+ "QuantityPack": [ {"keyword":"2pcs","type":"2"} ],
    019+ "Target User Group": [ {"keyword":"Kid","type":"2"}]
    020+
    021+
    022+ 二、修改实体抽取的服务
    023+ 新增FBA出单资料、实体生成资料
    024+ a、FBA出单资料,定期全量执行,执行后的数据与原全套资料的数据进行融合存储
    025+
    026+ 步骤一:按照SKU维度执行,筛选并确定FBA链接,筛选满足以下条件的FBA链接:
    027+ ➢ 链接历史销量大于0;
    028+ ➢ 链接状态为在线;
    029+ ➢ 所属店铺状态正常;
    030+ ➢ 所属站点为英语站点(US、AU、CA、GB);
    031+ ➢ 店铺所属部门为“智能研发”或“亚马逊平台运营中心”。
    032+ ➢ 每个 SKU 按销量降序,最多保留前5条链接(注意需要在任务表中记录抽取的时候的asin明细,后面要用到)。
    033+
    034+ 步骤二:获取属性信息,并清洗,字段如下:
    035+
    036+ ➢ 标题;
    037+ ➢ 五点描述;
    038+ ➢ 产品描述。
    039+ 产品描述按以下规则清洗:
    040+ 1. 将转义的换行符还原为真实换行;
    041+ 2. 解码HTML实体;
    042+ 3. 移除HTML标签并保留段落换行;
    043+ 4. 将不间断空格转换为普通空格;
    044+ 5. 合并连续空白字符;
    045+ 6. 删除空行及首尾空格;
    046+ 7. 输出干净的纯文本描述。
    047+ (处理代码参考具体需求文档)
    048+
    049+
    050+ ● 步骤三:以聚合后的 SKU 资料调用实体抽取批量接口 http://showdoc.zhcxkj.com/web/#/118/6499,接口返回实体(拼装逻辑与多套资料的一致)。
    051+ ● 步骤四:实体入库:
    052+ ➢ 数据保存到实体库,只保存新增的实体词(注意可能原来这个实体词是2类型,如果3类型也抽取出来了,这个时候需要调整类型字段);
    053+ ➢ 新增实体的来源类型标记为“FBA出单资料(3)”。
    054+
    055+ ● 执行时机:
    056+ ○ 首次全量执行:过滤停产,全站点仿牌,全站点禁售的SKU,剩余的SKU轮循进行调用(注意筛选不出来FBAlisting的数据不执行)
    057+ ○ 增量执行:
    058+ ➢ 每天执行一次;筛选付款时间范围为昨天00:00至今天00:00的SKU,采用左闭右开区间;
    059+ ➢ 针对这个时间区间的SKU进行一次重新调用,具体判断逻辑如下;
    060+
    061+ SKU 历史没有执行过:正常执行。
    062+ SKU 历史执行过,且上一次链接条数等于 5:不执行。
    063+ SKU 历史执行过,且上一次链接条数少于 5:
    064+ 本次出单 ASIN 在上次抽取范围内:不执行。
    065+ 本次出单 ASIN 不在上次抽取范围内:重新抽取。
    066+
    067+
    068+
    069+
    070+ b、实体生成
    071+ ● 步骤一,筛选产品:
    072+ 1. 以SKU维度执行,筛选条件:
    073+ 客户ID为1、非组合SKU、非成人用品、非全站点仿牌产品、非全站点禁售产品、非停产产品、产品终审通过、主类目复审通过。
    074+ 产品表仅用于筛选SKU及获取图片。标题、五点、描述、实体名称和产品中文名称统一通过多套资料接口获取。
    075+
    076+ 2. 确认已有的实体信息
    077+ 执行实体生成前,必须确认当前 SiteCode + SKU 对应的以下任务均已执行完成一次完整的流程:
    078+ ➢ 英文全套资料实体抽取成功;
    079+ ➢ FBA出单资料实体抽取成功。
    080+
    081+ 不符合2的数据标记为暂不执行,七天后chogn
    082+
    083+ 步骤二、实体抽取资料准备
    084+
    085+ 1、获取抽取的实体信息,读取全套资料、FBA出单资料下四类实体
    086+ ➢ Applicable Object
    087+ ➢ Applicable Scenario
    088+ ➢ Functional Features
    089+ ➢ Target User Group
    090+ 同一类型内按实体词去重。某个类型无数据时传空数组;四个类型均无数据时传空对象,并继续根据产品文本和图片生成。
    091+ confirmed_entities: {
    092+ Applicable Object: xxx,
    093+ Applicable Scenario: xxx,
    094+ Functional Features: xxx,
    095+ Target User Group: xxx
    096+ }
    097+
    098+ 2. 获取产品图片:
    099+ ➢ 从 rb_product.ImageUrl 获取产品首图;
    100+ ➢ 从 rb_product_image 获取有效的非封面场景图,图片数量上限为 8 张(不含首图)。
    101+ ● 处理规则:
    102+ ➢ 首图固定排在第一位;
    103+ ➢ 场景图排在首图之后;
    104+ ➢ 无可用图片时,使用文本资料继续生成。
    105+
    106+ 3.获取多套资料等信息
    107+ ● 步骤二:调用批量实体生成批量接口 http://showdoc.zhcxkj.com/web/#/118/6974。
    108+ 入参说明:model_name 固定为 gpt-5。
    109+
    110+ ● 步骤三:清洗接口返回结果:
    111+ 仅处理接口状态为成功的结果,并读取 expanded_entities
    112+ 保留以下五种实体类型:
    113+ ➢ Applicable Object
    114+ ➢ Applicable Scenario
    115+ ➢ Functional Features
    116+ ➢ Purchase Motivation
    117+ ➢ Target User Group
    118+ 每个实体保留:
    119+ ● 实体类型
    120+ ● 实体词 value
    121+ ● 置信度 confidence
    122+
    123+ 返回参考样例:
    124+
    125+
    126+ ● 步骤四:实体入库,注意与抽取的实体不在同一条数据中,保存到类型为生成实体的那条数据中:
    127+ 已存在相同实体词时不重复新增,但更新置信度
    128+ 新实体词正常新增
    129+ 标记来源类型为 实体生成来源(类型为11)
    130+
    131+ ● 执行时机:
    132+ ○ 首次初始化所有符合SKU条件的SKU,注意这个需求上线的时候先初始化全套的实体,再初始化FBA的实体,再初始化实体生成的实体
    133+ ○ 增量触发
    134+ 初始化完成之后,根据全套资料生成任务或者FBA资料抽取任务来触发,即有这两类任务完成的SKU,触发一次实体生成资料。
    135+
    136+ 五、应用文档:
    137+ https://alidocs.dingtalk.com/i/nodes/o14dA3GK8g50BqLnFn2P0EL9V9ekBD76?utm_scene=person_space
    001- <p><span style="font-weight:bold;">FBA出单资料、实体生成资料、全套资料实体抽取落库及应用</span><b><p>需求详细文档:https://alidocs.dingtalk.com/i/nodes/oP0MALyR8k7y4Br5hYYAg4AD83bzYmDO?utm_scene=person_space<br/></b>一、需求背景<br/><p>在新架构标题生成过程中,需支持根据不同的输入资料来源进行差异化处理,以满足多场景下的实体抽取与应用需求。<br/><p>结论:FBA出单资料、实体生成、全套资料优于首套资料实体,数据证明:<br/><p>足7天出单率方向上实体替换组高于未进行实体替换的基准组,提39.70% 绝对 +0.00532 个百分点,呈现正向趋势(足7天观察期)。<br/><p><img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/eee386a563fb4e5eae6ad47e57c4e67a/7406aa3a-28c1-4104-933e-094247ed0014.png" title="from clipboard" alt="from clipboard" /><br/><p>备注:基准组为算法版本的首套资料实体抽取<br/><p>二、实体生成类型定义<br/><p><img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" /><br/><p>全套资料<br/><p>三、实体抽取类型定义<br/><p>见:实体分类类型划分:https://alidocs.dingtalk.com/i/nodes/Y1OQX0akWm30rO4Atbqk6gDGJGlDd3mE?utm_scene=person_space<br/><p>四、服务修改说明<br/><p>需求优化:<br/><p>基于 https://pm.zhcxkj.com/zentao/story-view-36114.html 的需求基础上进行修改。36114 需求的核心是:AI直发通实体抽取应用,将实体来源从单一首套扩展为首套、全套可选,并在刊登/刷新服务中新增实体类型字段。<br/><p>1.本次需求进一步优化,在 “传全套” 场景下增加对描述资料的标准化清洗(参考 4.2 类型 1 步骤二)。<br/><p>2.新增FBA出单资料、实体生成资料初始化及自动执行<br/><p>3.新增业务指定任务表<br/><p>4.1 新增指定任务表<br/><p>新增 指定FBA链接进行实体抽取表,<br/><p>支持业务针对特定的SiteCode + SKU组合,触发“FBA出单资料实体抽取”的任务<br/><p>输入字段<br/><p>● SiteCode<br/><p>● SKU<br/><p>● OrderSourceId<br/><p>● OrderSourceSku<br/><p>● 标题<br/><p>● 五点<br/><p>● 描述<br/><p>4.2 自动服务执行类型<br/><p>类型 1:FBA出单资料<br/><p>● 步骤一:筛选并确定FBA链接,筛选满足以下条件的FBA链接:<br/><p>➢ 链接销量大于0;<br/><p>➢ 链接状态为在线;<br/><p>➢ 所属店铺状态正常;<br/><p>➢ 所属站点为英语站点(US、AU、CA、GB);<br/><p>➢ 所属部门为“智能研发”或“亚马逊平台运营中心”。<br/><p>按 SiteCode + SKU + OrderSourceId + OrderSourceSku 聚合有效订单:<br/><p>➢ 聚合后筛选销量大于0的链接;<br/><p>➢ 每个 SiteCode + SKU 按销量降序,最多保留前5条链接。<br/><p>● 步骤二:根据入选链接的 OrderSourceSku、OrderSourceId 调用接口http://amazonapi.zhcxkj.com/ListingInfoAttribute/GetMergeListingInfoAttributes 获取最新的:<br/><p>➢ 标题;<br/><p>➢ 五点描述;<br/><p>➢ 产品描述。<br/><p>产品描述按以下规则清洗:<br/><p>1. 将转义的换行符还原为真实换行;<br/><p>2. 解码HTML实体;<br/><p>3. 移除HTML标签并保留段落换行;<br/><p>4. 将不间断空格转换为普通空格;<br/><p>5. 合并连续空白字符;<br/><p>6. 删除空行及首尾空格;<br/><p>7. 输出干净的纯文本描述。<br/><p>def clean_product_desc(text):<br/><p> if pd.isna(text):<br/><p> return text<br/><p><br/><br/><p> text = str(text).replace("n", "n").replace("r", "")<br/><p> text = html.unescape(text)<br/><p><br/><br/><p> soup = BeautifulSoup(text, "html.parser")<br/><p> text = soup.get_text(separator="n")<br/><p><br/><br/><p> text = text.replace("xa0", " ")<br/><p> lines = [re.sub(r"s+", " ", line).strip() for line in text.splitlines()]<br/><p> lines = [line for line in lines if line]<br/><p><br/><br/><p> return "n".join(lines)<br/><p>● 步骤三:以聚合后的 SiteCode + SKU 资料调用实体抽取批量接口 http://showdoc.zhcxkj.com/web//79/6726,接口返回实体。<br/><p>● 步骤四:实体入库:<br/><p>➢ 数据落到FBA出单资料实体库;<br/><p>➢ 已存在的SiteCode + SKU 则覆盖;<br/><p>➢ 新增实体的来源类型标记为“FBA出单资料”。<br/><p>● 执行时机:<br/><p> ○ 首次全量执行:统计全部有效历史订单;预计处理约 33 万链接,23 万站点 SKU,英语站点(US、AU、CA、GB)<br/><p> ○ 增量执行:<br/><p>➢ 每天执行一次;付款时间范围为昨天00:00至今天00:00,采用左闭右开区间;<br/><p>➢ 仅处理该时间范围内有效订单的链接;<br/><p>➢ 若该链接的站点SKU在系统中无历史实体抽取记录,则直接执行正常的资料抽取流程。若已有历史抽取记录,则检查历史已抽取的链接总数,若数量 ≥ 5,则本次不进行任何抽取操作,若数量 < 5,则需触发补充抽取:将历史任务指定的链接(链接状态为在线,所属店铺状态正常,英语站点(US、AU、CA、GB))与昨日产生出单的链接(按销量降序取前5条,不足5条从历史任务表中补足5条),重新聚合资料并进行实体抽取,覆盖该站点SKU原有的实体数据。<br/><p>类型 2:实体生成<br/><p>● 步骤一:<br/><p>1. 处理对象筛选筛选符合以下条件的SKU、客户ID为1、非组合SKU、非成人用品、非高危产品、非停产产品、非仿牌产品、产品终审通过、主类目复审通过。产品表仅用于筛选SKU及获取图片。标题、五点、描述、实体名称和产品中文名称统一通过多套资料接口获取。<br/><p>2. 确认已有的实体信息<br/><p>执行实体生成前,必须确认当前 SiteCode + SKU 对应的以下任务均已执行完成一次完整的流程:<br/><p>➢ 英文全套资料实体抽取成功;<br/><p>➢ FBA出单资料实体抽取成功。<br/><p>排除“实体生成来源”,读取全套资料、FBA出单资料下四类实体<br/><p>➢ Applicable Object<br/><p>➢ Applicable Scenario<br/><p>➢ Functional Features<br/><p>➢ Target User Group<br/><p>同一类型内按实体词去重。某个类型无数据时传空数组;四个类型均无数据时传空对象,并继续根据产品文本和图片生成。<br/><p>confirmed_entities: {<br/><p> Applicable Object: xxx,<br/><p> Applicable Scenario: xxx,<br/><p> Functional Features: xxx,<br/><p> Target User Group: xxx<br/><p>}<br/><p>3. 获取产品图片:<br/><p>➢ 从 rb_product.ImageUrl 获取产品首图;<br/><p>➢ 从 rb_product_image 获取有效的非封面场景图,图片数量上限为 8 张(不含首图)。<br/><p>● 处理规则:<br/><p>➢ 首图固定排在第一位;<br/><p>➢ 场景图排在首图之后;<br/><p>➢ 图片URL为空或无效时丢弃;<br/><p>➢ 首图与场景图按URL去重;<br/><p>➢ 无可用图片时,使用文本资料继续生成。<br/><p>WITH product_image AS (<br/><p>SELECT<br/><p> U.SKU<br/><p> ,GROUP_CONCAT(CONCAT(", U.ImageUrl, ") SEPARATOR ,) AS ImageUrl<br/><p>FROM zhcxkj_dw_bi.rb_product_image U<br/><p>WHERE U.CustomerID = 1 AND U.Status != 2 AND U.IsCover != 1 AND U.IsScene = 1 AND EXISTS (<br/><p> SELECT 1 FROM zhcxkj_bi.rb_amazon_sku_entity_information e where U.sku = e.sku)<br/><p>GROUP BY<br/><p> U.SKU<br/><p>)<br/><p>SELECT p.SKU sku,<br/><p> p.ProductName,<br/><p>-- p.ProductDescription productDesc,<br/><p> TRIM(<br/><p> REGEXP_REPLACE(<br/><p> REGEXP_REPLACE(<br/><p> REPLACE(<br/><p> REPLACE(ProductDescription, &amp;nbsp;, ),<br/><p> &lt;br /&gt;, n<br/><p> ),<br/><p> &lt;[&gt;]+&gt;,<br/><p> <br/><p> ),<br/><p> n[[:space:]]*n+,<br/><p> n<br/><p> )<br/><p> ) AS productDesc,<br/><p> p.FeatureList featureList,<br/><p> p.AccurateKeyword product_entity_name,<br/><p> p.ProductNameCN product_chinese_title,<br/><p> PARSE_JSON(<br/><p> CONCAT(<br/><p> [,<br/><p> CASE<br/><p> WHEN p.ImageUrl IS NOT NULL AND p.ImageUrl &lt;&gt; THEN CONCAT(", p.ImageUrl, ")<br/><p> ELSE <br/><p> END,<br/><p> CASE<br/><p> WHEN p.ImageUrl IS NOT NULL AND p.ImageUrl &lt;&gt; <br/><p> AND e.ImageUrl IS NOT NULL AND e.ImageUrl &lt;&gt; THEN ,<br/><p> ELSE <br/><p> END,<br/><p> CASE<br/><p> WHEN e.ImageUrl IS NOT NULL AND e.ImageUrl &lt;&gt; THEN e.ImageUrl<br/><p> ELSE <br/><p> END,<br/><p> ]<br/><p> )<br/><p> ) AS ImageUrl<br/><p>FROM zhcxkj_dw_bi.rb_product AS p<br/><p> LEFT JOIN zhcxkj_dw_bi.rb_product_admin pa ON p.sku = pa.sku<br/><p> LEFT JOIN product_image e ON e.SKU = p.SKU<br/><p>WHERE p.CustomerID = 1<br/><p>AND p.IsGroup = 0 -- 是否为组合SKU产品(0:不是,1:是)<br/><p>AND p.IsAdultsOnly != 1 -- 非成人用品<br/><p>AND p.RiskLevel != 1 -- 非高危<br/><p>AND p.ProductState != 2 -- 非停产(去掉停产)<br/><p>AND p.ProductProperty != 2 -- 去掉仿牌 【产品属性】 产品属性 0 未选择 1 非仿牌 2 仿牌 3 灰色产品<br/><p>AND pa.CheckStatus = 1 -- 终审通过 审核状态 0 未审核 1 已审核 2 不通过<br/><p>AND pa.MainCategoryCheckStatus = 3 -- 复审通过 主类目审核状态,初审状态 0:待初审 1:初审通过 2:初审不通过 3:复审通过 4:复审不通过<br/><p>AND EXISTS (<br/><p> SELECT 1 FROM zhcxkj_bi.rb_amazon_sku_entity_information e where p.sku = e.sku and e.source = 全套资料<br/><p>)<br/><p>;<br/><p>● 步骤二:调用批量实体生成批量接口 http://showdoc.zhcxkj.com/web//79/6997。<br/><p>入参说明:model_name 固定为 gpt-5。<br/><p>[{<br/><p>task_id: 15434076,<br/><p>sku: ,<br/><p>site_code: US,<br/><p>productName: 3Pcs Rugby Cake Molds Fondant Cooking Molds Creative Rugby Molds Transparent Rugby Molds,<br/><p>productDesc: DescriptionnMade of high-grade material, this baking mold is very durable. Nonstick surface is designed for easy release and cleaning. Decorative rugby shaped design can make the baked food more creative and attractive. Perfect for small rice cakes, custard cakes, cookies, chocolate, puddings, jelly and so on.nFeaturesn-Color:Transparentn-Material:ABSn- Size: 15.00X9.20X7.20cm/5.89X3.62X2.83in n- Size: 11.00X7.00X5.00cm/4.32X2.75X1.97in n- Size: 9.00X6.00X3.70cm/3.54X2.36X1.45in n-It is made of premium and sturdy material, sturdy and practical for a long-lasting use.n-Excellent heat conductivity and uniform baking to prevent hot spots and burning.n-Compact size and light in weight design, and this food making mold is easy to store and carry.n-Non-stick, this mold is easy and quick to demould with keeping the baked food intact.n-Use it to bake some cake, jelly, chocolate and rice cake for your families and friends.,<br/><p>featureList: It is made of premium and sturdy material, sturdy and practical for a long-lasting use.nExcellent heat conductivity and uniform baking to prevent hot spots and burning.nCompact size and light in weight design, and this food making mold is easy to store and carry.nNon-stick, this mold is easy and quick to demould with keeping the baked food intact.nUse it to bake some cake, jelly, chocolate and rice cake for your families and friends.,<br/><p>product_entity_name: 橄榄球模具,<br/><p>product_chinese_title: 3D立体橄榄球巧克模具美式足球3种不同大小蛋糕糖果烘焙装饰,<br/><p>image_urls: [https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/87095784d0b44a9caaeaaa6982ee0714/63cc86b9-e110-4cf0-83b1-eab9a4bed2b0.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e6b7e322c8374255bb5ac3a405018254/1dd6e612-08f5-45e5-bfab-853cbfe98286.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e2a3c86888794c36a8d17abab65fe0bd/25bb178c-1a30-434e-812f-49bab6d742d0.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/e00cda487b2d4793b9e02ee827f911de/89fc9fcb-fbfd-4bb3-aa6c-1a5271d83f46.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/15434076/2022/11/08/660cc72de5514e55b0cd1fbcc7db5502/bf78dbd7-b067-4324-be10-4fc708e083c0.jpg],<br/><p>confirmed_entities: {<br/><p> Applicable Object: [biscuits, chocolate, cookies, custard cakes, jelly, pudding, rice cake],<br/><p> Applicable Scenario: [DIY baking, bakery, cake shop, dessert shop, home kitchen, hotel, restaurant],<br/><p> Functional Features: [compact size, easy demoulding, easy to clean, easy to demold, easy to store, easy to tidy, healthy and practical, heat-resistant, high-temperature resistant, lightweight, non-stick, safe for food, uniform baking]<br/><p>},<br/><p>model_name: gpt-5,<br/><p>competitor_image_urls: [],<br/><p>competitor_data: <br/><p>}<br/><p>]<br/><p>● 步骤三:清洗接口返回结果:<br/><p>仅处理接口状态为成功的结果,并读取 expanded_entities<br/><p>保留以下五种实体类型:<br/><p>➢ Applicable Object<br/><p>➢ Applicable Scenario<br/><p>➢ Functional Features<br/><p>➢ Purchase Motivation<br/><p>➢ Target User Group<br/><p>每个实体保留:<br/><p>● 实体类型 value<br/><p>● 实体词 value<br/><p>● 置信度 confidence<br/><p>{<br/><p>data: {<br/><p> expanded_entities: {<br/><p> Applicable Object: [{<br/><p> basis: Title explicitly states rebar marking; aligns with steel marking,<br/><p> confidence: high,<br/><p> risk: None,<br/><p> source: [product_text, confirmed_entity],<br/><p> value: rebar<br/><p> }, {<br/><p> basis: Marks on steel implies broader metal surface applicability,<br/><p> confidence: medium,<br/><p> risk: Generalization beyond steel may overreach,<br/><p> source: [product_text, product_logic],<br/><p> value: metal<br/><p> }, {<br/><p> basis: Marks on wood; timber is a common construction wood object,<br/><p> confidence: medium,<br/><p> risk: Subcategory wording not explicitly used,<br/><p> source: [product_text, product_logic],<br/><p> value: timber<br/><p> }, {<br/><p> basis: Concrete mentioned; construction site imagery suggests slab/floor layout marking,<br/><p> confidence: medium,<br/><p> risk: "Specific form slab not explicitly named",<br/><p> source: [product_text, product_image],<br/><p> value: concrete slab<br/><p> }, {<br/><p> basis: "Visual text says colored stone pencils; chalk often used on stone",<br/><p> confidence: low,<br/><p> risk: Product title/main text focus on industrial/steel/concrete; stone not confirmed,<br/><p> source: [product_image, product_logic],<br/><p> value: stone<br/><p> }, {<br/><p> basis: Industrial marking chalk commonly used to mark metal pipes,<br/><p> confidence: low,<br/><p> risk: Not explicitly supported by current text or images,<br/><p> source: [product_logic],<br/><p> value: pipes<br/><p> }],<br/><p> Applicable Scenario: [{<br/><p> basis: Image shows construction workers on-site; text emphasizes industrial marking tasks,<br/><p> confidence: high,<br/><p> risk: Assumes primary use on construction rather than other industrial settings,<br/><p> source: [product_image, product_text, product_logic],<br/><p> value: construction site<br/><p> }, {<br/><p> basis: Text mentions rebar and steel marking; typical setting is fabrication or welding prep,<br/><p> confidence: medium,<br/><p> risk: Specific shop environment not explicitly named,<br/><p> source: [product_text, product_logic],<br/><p> value: metal fabrication shop<br/><p> }, {<br/><p> basis: Product marks on wood and provides clear layout lines,<br/><p> confidence: medium,<br/><p> risk: May overlap with general woodworking outside heavy industry,<br/><p> source: [product_text, product_logic],<br/><p> value: carpentry layout<br/><p> }, {<br/><p> basis: Temporary chalk labeling fits industrial warehouses,<br/><p> confidence: low,<br/><p> risk: Not directly stated; environment inference could be too broad,<br/><p> source: [product_logic],<br/><p> value: warehouse labeling<br/><p> }],<br/><p> Functional Features: [{<br/><p> basis: Chalk markings are typically non-permanent and erasable,<br/><p> confidence: medium,<br/><p> risk: Reversibility not explicitly stated in text,<br/><p> source: [product_logic],<br/><p> value: temporary marks<br/><p> }, {<br/><p> basis: Described as large size producing clear, visible lines; stick breadth suggests wide strokes,<br/><p> confidence: medium,<br/><p> risk: Exact width or edge design not specified,<br/><p> source: [product_text, product_image],<br/><p> value: wide marking edge<br/><p> }, {<br/><p> basis: Concrete and wood are rough; chalk suitable for rough texture,<br/><p> confidence: medium,<br/><p> risk: Performance language could overclaim without direct text,<br/><p> source: [product_text, product_logic],<br/><p> value: works rough<br/><p> }, {<br/><p> basis: Chalk sticks are designed to be held and used manually,<br/><p> confidence: high,<br/><p> risk: Generic but accurate,<br/><p> source: [product_text, product_image],<br/><p> value: handheld use<br/><p> }],<br/><p> Purchase Motivation: [{<br/><p> basis: Text highlights clear, visible, precise lines,<br/><p> confidence: high,<br/><p> risk: None,<br/><p> source: [product_text],<br/><p> value: clear layout lines<br/><p> }, {<br/><p> basis: Resistant to breakage and reinforced design,<br/><p> confidence: high,<br/><p> risk: Paraphrase but consistent,<br/><p> source: [product_text],<br/><p> value: won’t easily<br/><p> }, {<br/><p> basis: Sufficient pieces in one box; 18 pcs,<br/><p> confidence: high,<br/><p> risk: Value perception varies,<br/><p> source: [product_text],<br/><p> value: bulk value pack<br/><p> }, {<br/><p> basis: Marks on steel, concrete, wood; industrial environments,<br/><p> confidence: medium,<br/><p> risk: Broad phrasing,<br/><p> source: [product_text],<br/><p> value: works tough<br/><p> }, {<br/><p> basis: Smudge-resistant/reinforced design to prevent smudging,<br/><p> confidence: high,<br/><p> risk: None,<br/><p> source: [product_text],<br/><p> value: less smudging<br/><p> }],<br/><p> Target User Group: [{<br/><p> basis: Image depicts construction crew; industrial marking for concrete/rebar aligns,<br/><p> confidence: high,<br/><p> risk: Assumes primary buyer within construction,<br/><p> source: [product_image, product_text],<br/><p> value: construction workers<br/><p> }, {<br/><p> basis: Rebar and steel marking suggests fabrication and welding prep users,<br/><p> confidence: medium,<br/><p> risk: Not explicitly named,<br/><p> source: [product_text, product_logic],<br/><p> value: metal fabricators<br/><p> }, {<br/><p> basis: Marks on wood for layout lines fits carpentry tasks,<br/><p> confidence: medium,<br/><p> risk: Could overlap with general DIY woodworkers,<br/><p> source: [product_text, product_logic],<br/><p> value: carpenters<br/><p> }, {<br/><p> basis: Chalk often used for temporary site marks during layout,<br/><p> confidence: low,<br/><p> risk: Not supported by text or images,<br/><p> source: [product_logic],<br/><p> value: surveyors<br/><p> }]<br/><p> },<br/><p> product_analysis: {<br/><p> core_product: Industrial marking chalk sticks (white, large size) for making lines on hard surfaces such as steel, concrete, and wood,<br/><p> key_constraints: [Industrial-oriented use emphasized, White color only, Chalk-based, temporary markings],<br/><p> solved_problem: Provides clear, visible, durable marks for layout and labeling in tough work environments without frequent breakage or smudging,<br/><p> use_actions: [marking lines, labeling parts, layout marking, temporary surface marking],<br/><p> visible_image_evidence: [Multiple white rectangular chalk sticks, Workers on a construction site wearing hard hats and vests]<br/><p> },<br/><p> rejected_candidates: [{<br/><p> entity_type: Functional Features,<br/><p> reason: No evidence of water-resistant or wet-surface performance,<br/><p> value: wet surface marking<br/><p> }, {<br/><p> entity_type: Applicable Scenario,<br/><p> reason: Product is industrial marking chalk for hard surfaces, not classroom chalkboards,<br/><p> value: blackboard use<br/><p> }, {<br/><p> entity_type: Applicable Scenario,<br/><p> reason: No fabric/sewing context; material and text focus on steel/concrete/wood,<br/><p> value: tailor marking<br/><p> }, {<br/><p> entity_type: Target User Group,<br/><p> reason: DIY audience not explicitly supported; industrial focus,<br/><p> value: DIY enthusiasts<br/><p> }, {<br/><p> entity_type: Functional Features,<br/><p> reason: Chalk is generally temporary; permanence not claimed,<br/><p> value: permanent marking<br/><p> }]<br/><p>},<br/><p>input_text: {<br/><p> competitor_data: [],<br/><p> competitor_image_urls: [],<br/><p> confirmed_entities: {<br/><p> Applicable Object: [concrete, steel, wood],<br/><p> Applicable Scenario: [industrial applications, industrial use],<br/><p> Functional Features: [abundant supply, accurate marking, breakage resistant, clear visible lines, durable, long-lasting performance, marks on concrete, marks on steel, marks on wood, precise marking, reliable performance, resistant to breakage, smudge resistant, smudge-resistant, suitable for industrial use, wear resistant]<br/><p> },<br/><p> featureList: "The Industrial Marking Chalk offers several key features that make it a standout choice. |Its large size allows for precise and accurate marking, ensuring your lines are clear and easy to follow. |The use of stable material guarantees durability, making it resistant to breakage even in demanding work environments. |The reinforced design ensures that the chalk can use with ease, preventing any accidental smudging or breaking. |With sufficient pieces in one box, youll have plenty of chalk to tackle any marking task.",<br/><p> image_urls: [https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/19162867/2024/06/07/e82e200dd4934dcda71ff3c1a3f43ac5/967860fa-7c92-40ed-ab25-f8f5e627eefc.jpg, https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/ProductImages/19162867/2024/06/07/e2c500e4442d42cc9cf13e24218c11f4/7b842dde-c4fd-4992-a961-bedbcbffed9b.jpg],<br/><p> productDesc: "DescriptionnThe Marking Chalk for Industrial is a versatile tool for precise marking and labeling. Its large size allows for clear and visible lines, making it perfect for industrial use. Made from durable material, this chalk is resistant to breakage and ensures long-lasting performance. The reinforced design prevents the chalk from easily broken up, providing a reliable marking solution. With bulk pieces in one box, youll have an abundant supply to meet your marking needs. nFeaturesn-Color:Whiten-Material:Chalkn-Size:10.00X1.20X0.40cm/3.93X0.47X0.16inn-The Industrial Marking Chalk offers several key features that make it a standout choice. n-Its large size allows for precise and accurate marking, ensuring your lines are clear and easy to follow. n-The use of stable material guarantees durability, making it resistant to breakage even in demanding work environments. n-The reinforced design ensures that the chalk can use with ease, preventing any accidental smudging or breaking. n-With sufficient pieces in one box, youll have plenty of chalk to tackle any marking task.",<br/><p> productName: 18Pcs Industrial Marking Chalk Large Marking Tool Industrial Mark Chalk White Chalk Rebar Marking Chalk,<br/><p> product_chinese_title: 记号画笔彩色石笔工业滑石大号划线钢筋粉笔(常用款一盒(100*12*4)毫米共18支),<br/><p> product_entity_name: 石笔粉笔<br/><p>},<br/><p>message: 资料外实体拓展成功,基础数据来源为请求输入,<br/><p>site_code: US,<br/><p>sku: ,<br/><p>status: success,<br/><p>task_id: 19162867<br/><p>}<br/><p>● 步骤四:实体入库:<br/><p>● 已存在相同实体时不重复新增,但更新置信度<br/><p>● 新实体正常新增<br/><p>● 标记来源类型为 实体生成来源<br/><p>● 不得覆盖全套资料或FBA出单资料来源的实体<br/><p>● 执行时机:<br/><p> ○ 首次初始化<br/><p>➢ 按US执行全量初始化;<br/><p> ○ 增量触发<br/><p>➢ 全套资料实体集合变化,参考需求:https://pm.zhcxkj.com/zentao/story-view-34074.html<br/><p>➢ 统一触发链路:全套资料抽取成功 → FBA资料抽取成功或无数据成功 → 实体生成<br/><p>需支持的服务功能调整<br/><p>针对以下两个服务进行功能扩展,使其支持上述 2 个来源的实体处理:<br/><p>1. 指定 listing 刊登(含 SKU)<br/><p>2. 指定 listing 刷新(含 SKU)<br/><p>五、应用文档:<br/><p>https://alidocs.dingtalk.com/i/nodes/o14dA3GK8g50BqLnFn2P0EL9V9ekBD76?utm_scene=person_space<br/>
    001+ <p><span style="font-weight:bold;">FBA出单资料、实体生成资料、全套资料实体抽取落库及应用</span><b></b></p>
    002+ <p><b>需求详细文档:https://alidocs.dingtalk.com/i/nodes/oP0MALyR8k7y4Br5hYYAg4AD83bzYmDO?utm_scene=person_space<br /></b>一、需求背景</p>
    003+ <p>基于实体抽取应用效果,调整线上实体抽取的逻辑,增加数据来源</p>
    004+ <p><br /></p>
    005+ <p><br /></p>
    006+ <p>需求实现:</p>
    007+ <p>一、实体生成类型定义</p>
    008+ <p><img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" /></p>
    009+ <p>二、调整原实体存储逻辑</p>
    010+ <p>a、实体类型修改为两种类型(新增一个字段来记录),一种是抽取,一种是生成,原多套资料的实体和FBA出单的实体都是抽取,新增的实体生成为生成类型。</p>
    011+ <p>b、原实体类型字段改到具体实体关键词维度记录(全套资料为2,FBA资料为3),即每一个实体词都有一个类型,原多套资料初始化的实体类型字段要调整位置,新增的FBA的插入,如果是多个类型则该实体词记录多个类型</p>
    012+ <p>举例:</p>
    013+ <p><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"Applicable Scenario"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ </span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"Sport</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span>","type":"2,3"}</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">,{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"Home</span>","type":"2,3"}</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span>],</span></p>
    014+ <p><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"Color"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ </span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"Red</span>","type":"2"}</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span></span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">],</span></p>
    015+ <p><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"Core Product Term"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ <span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"Mask</span>","type":"2"}</span></span></span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"> ],</span></p>
    016+ <p><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"Material"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ </span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"PP</span>","type":"2"}</span></span></span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"> ],</span></p>
    017+ <p><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"Product Accessories"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ <span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"Bag</span>","type":"2"}</span></span></span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">],</span></p>
    018+ <p><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"QuantityPack"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ </span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"2pcs</span>","type":"2"}</span></span></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"></span><span style="color:#D1D2D2;font-family:Consolas, Monaco;"> ],</span></p>
    019+ <p><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-attr" style="color:#D19A66;font-family:Consolas, Monaco;">"Target User Group"</span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">: [ </span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;"><span style="color:#D1D2D2;font-family:Consolas, Monaco;"></span><span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">{"keyword":<span class="hljs-string" style="color:#98C379;font-family:Consolas, Monaco;">"Kid</span>","type":"2"}</span></span></span><span style="color:#D1D2D2;font-family:Consolas, Monaco;">]</span></p>
    020+ <p><br /></p>
    021+ <p><br /></p>
    022+ <p>二、修改实体抽取的服务</p>
    023+ <p>新增FBA出单资料、实体生成资料</p>
    024+ <p>a、FBA出单资料,定期全量执行,执行后的数据与原全套资料的数据进行融合存储</p>
    025+ <p><br /></p>
    026+ <p><strong>步骤一:按照SKU维度执行,筛选并确定FBA链接,筛选满足以下条件的FBA链接:</strong></p>
    027+ <p>➢ 链接历史销量大于0;</p>
    028+ <p>➢ 链接状态为在线;</p>
    029+ <p>➢ 所属店铺状态正常;</p>
    030+ <p>➢ 所属站点为英语站点(US、AU、CA、GB);</p>
    031+ <p>➢ 店铺所属部门为“智能研发”或“亚马逊平台运营中心”。</p>
    032+ <p>➢ 每个 SKU 按销量降序,最多保留前5条链接(注意需要在任务表中记录抽取的时候的asin明细,后面要用到)。</p>
    033+ <p><br /></p>
    034+ <p><strong>步骤二:获取属性信息,并清洗,字段如下:</strong></p>
    035+ <p><br /></p>
    036+ <p>➢ 标题;</p>
    037+ <p>➢ 五点描述;</p>
    038+ <p>➢ 产品描述。</p>
    039+ <p>产品描述按以下规则清洗:</p>
    040+ <p>1. 将转义的换行符还原为真实换行;</p>
    041+ <p>2. 解码HTML实体;</p>
    042+ <p>3. 移除HTML标签并保留段落换行;</p>
    043+ <p>4. 将不间断空格转换为普通空格;</p>
    044+ <p>5. 合并连续空白字符;</p>
    045+ <p>6. 删除空行及首尾空格;</p>
    046+ <p>7. 输出干净的纯文本描述。</p>
    047+ (处理代码参考具体需求文档)
    048+ <p><br /></p>
    049+ <p><br /></p>
    050+ <p>● 步骤三:以聚合后的 SKU 资料调用实体抽取批量接口 http://showdoc.zhcxkj.com/web/#/118/6499,接口返回实体(拼装逻辑与多套资料的一致)。</p>
    051+ <p>● 步骤四:实体入库:</p>
    052+ <p>➢ 数据保存到实体库,只保存新增的实体词(注意可能原来这个实体词是2类型,如果3类型也抽取出来了,这个时候需要调整类型字段);</p>
    053+ <p>➢ 新增实体的来源类型标记为“FBA出单资料(3)”。</p>
    054+ <p><br /></p>
    055+ <p>● 执行时机:</p>
    056+ <p> ○ 首次全量执行:过滤停产,全站点仿牌,全站点禁售的SKU,剩余的SKU轮循进行调用(注意筛选不出来FBAlisting的数据不执行)</p>
    057+ <p> ○ 增量执行:</p>
    058+ <p>➢ 每天执行一次;筛选付款时间范围为昨天00:00至今天00:00的SKU,采用左闭右开区间;</p>
    059+ <p>➢ 针对这个时间区间的SKU进行一次重新调用,具体判断逻辑如下;</p>
    060+ <p><br /></p>
    061+ <ul style="color:#161616;font-family:'ui-sans-serif', 'system-ui', '-apple-system', BlinkMacSystemFont;"><li>SKU 历史没有执行过:正常执行。</li>
    062+ <li>SKU 历史执行过,且上一次链接条数等于 5:不执行。</li>
    063+ <li>SKU 历史执行过,且上一次链接条数少于 5:
    064+ <ul><li>本次出单 ASIN 在上次抽取范围内:不执行。</li>
    065+ <li>本次出单 ASIN 不在上次抽取范围内:重新抽取。</li>
    066+ </ul></li>
    067+ </ul><p><br /></p>
    068+ <p><br /></p>
    069+ <p><br /></p>
    070+ <p>b、实体生成</p>
    071+ <p><strong>● 步骤一,筛选产品:</strong></p>
    072+ <p>1. 以SKU维度执行,筛选条件:</p>
    073+ <p>客户ID为1、非组合SKU、非成人用品、非全站点仿牌产品、非全站点禁售产品、非停产产品、产品终审通过、主类目复审通过。</p>
    074+ <p>产品表仅用于筛选SKU及获取图片。标题、五点、描述、实体名称和产品中文名称统一通过多套资料接口获取。</p>
    075+ <p><br /></p>
    076+ <p>2. 确认已有的实体信息</p>
    077+ <p>执行实体生成前,必须确认当前 SiteCode + SKU 对应的以下任务均已执行完成一次完整的流程:</p>
    078+ <p>➢ 英文全套资料实体抽取成功;</p>
    079+ <p>➢ FBA出单资料实体抽取成功。</p>
    080+ <p><br /></p>
    081+ <p>不符合2的数据标记为暂不执行,七天后chogn</p>
    082+ <p><br /></p>
    083+ <p>步骤二、实体抽取资料准备</p>
    084+ <p><br /></p>
    085+ <p>1、获取抽取的实体信息,读取全套资料、FBA出单资料下四类实体</p>
    086+ <p>➢ Applicable Object</p>
    087+ <p>➢ Applicable Scenario</p>
    088+ <p>➢ Functional Features</p>
    089+ <p>➢ Target User Group</p>
    090+ <p>同一类型内按实体词去重。某个类型无数据时传空数组;四个类型均无数据时传空对象,并继续根据产品文本和图片生成。</p>
    091+ <p>confirmed_entities: {</p>
    092+ <p> Applicable Object: xxx,</p>
    093+ <p> Applicable Scenario: xxx,</p>
    094+ <p> Functional Features: xxx,</p>
    095+ <p> Target User Group: xxx</p>
    096+ <p>}</p>
    097+ <p><br /></p>
    098+ <p>2. 获取产品图片:</p>
    099+ <p>➢ 从 rb_product.ImageUrl 获取产品首图;</p>
    100+ <p>➢ 从 rb_product_image 获取有效的非封面场景图,图片数量上限为 8 张(不含首图)。</p>
    101+ <p>● 处理规则:</p>
    102+ <p>➢ 首图固定排在第一位;</p>
    103+ <p>➢ 场景图排在首图之后;</p>
    104+ <p>➢ 无可用图片时,使用文本资料继续生成。</p>
    105+ <p><br /></p>
    106+ <p>3.获取多套资料等信息</p>
    107+ <br /><p>● <strong>步骤二:调用批量实体生成批量接口 http://showdoc.zhcxkj.com/web/#/118/6974。</strong></p>
    108+ <p>入参说明:model_name 固定为 gpt-5。</p>
    109+ <p><br /></p>
    110+ <p><strong>● 步骤三:清洗接口返回结果:</strong></p>
    111+ <p>仅处理接口状态为成功的结果,并读取 expanded_entities</p>
    112+ <p>保留以下五种实体类型:</p>
    113+ <p>➢ Applicable Object</p>
    114+ <p>➢ Applicable Scenario</p>
    115+ <p>➢ Functional Features</p>
    116+ <p>➢ Purchase Motivation</p>
    117+ <p>➢ Target User Group</p>
    118+ <p>每个实体保留:</p>
    119+ <p>● 实体类型</p>
    120+ <p>● 实体词 value</p>
    121+ <p>● 置信度 confidence</p>
    122+ <p><br /></p>
    123+ <p>返回参考样例:</p>
    124+ <p><img src="{567401.png}" alt="" /></p>
    125+ <p><br /></p>
    126+ <br /><p>● 步骤四:实体入库,注意与抽取的实体不在同一条数据中,保存到类型为生成实体的那条数据中:</p>
    127+ <p>已存在相同实体词时不重复新增,但更新置信度</p>
    128+ <p>新实体词正常新增</p>
    129+ <p>标记来源类型为 实体生成来源(类型为11)</p>
    130+ <p><br /></p>
    131+ <p>● 执行时机:</p>
    132+ <p> ○ 首次初始化所有符合SKU条件的SKU,注意这个需求上线的时候先初始化全套的实体,再初始化FBA的实体,再初始化实体生成的实体</p>
    133+ <p> ○ 增量触发</p>
    134+ <p>初始化完成之后,根据全套资料生成任务或者FBA资料抽取任务来触发,即有这两类任务完成的SKU,触发一次实体生成资料。</p>
    135+ <p><br /></p>
    136+ <p>五、应用文档:</p>
    137+ <p>https://alidocs.dingtalk.com/i/nodes/o14dA3GK8g50BqLnFn2P0EL9V9ekBD76?utm_scene=person_space</p>
  3. 2026-08-03 16:58:09, 由 戴宝山 变更。
    修改了 版本号 ,旧值为 "2",新值为 "3"。
    修改了 需求描述,区别为:
    008- <img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" />
    008+ <img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" width="678" height="500" />
    124-
    124+
    008- <p><img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" /></p>
    008+ <p><img src="https://irobotbox-hd1.oss-cn-hangzhou.aliyuncs.com/1/Kindeditor/2026/08/03/32e75227eac644bc9c5fffdfffc6e0c0/cb3120ac-2fe3-40b4-88c5-00c3ea92eb38.png" title="from clipboard" alt="from clipboard" width="678" height="500" /></p>
    124- <p><img src="{567401.png}" alt="" /></p>
    124+ <p><img src="{567401.png}" alt="" width="736" height="500" title="" /></p>
  4. 2026-08-03 16:58:57, 由 戴宝山 编辑。
    修改了 所属模块,旧值为 "0",新值为 "1716"。
    修改了 开发组 ,旧值为 "",新值为 "17"。
    修改了 预计工时,旧值为 "1",新值为 "48"。
    修改了 成本 ,旧值为 "500",新值为 "24000"。
    修改了 ROI ,旧值为 "2400.00",新值为 "50.00"。
    修改了 评审次数,旧值为 "",新值为 "1"。
  5. 2026-08-04 10:10:38, 由 张华 记录评审结果,结果为 确认通过。
    修改了 评审时间,旧值为 "0000-00-00",新值为 "2026-08-04"。
    修改了 指派给 ,旧值为 "zhanghua",新值为 "daibaoshan"。
    修改了 当前状态,旧值为 "draft",新值为 "active"。
    修改了 由谁评审,旧值为 "",新值为 "zhanghua"。
  6. 2026-08-05 10:07:18, 由 戴宝山 指派给 朱汉霖。
    修改了 指派给,旧值为 "daibaoshan",新值为 "zhuhanlin"。
  7. 2026-08-05 17:35:51, 由 戴宝山 添加备注。

    全套资料的抽取,描述部分也要按照这里的描述清洗逻辑来执行

    1. 将转义的换行符还原为真实换行;

    2. 解码HTML实体;

    3. 移除HTML标签并保留段落换行;

    4. 将不间断空格转换为普通空格;

    5. 合并连续空白字符;

    6. 删除空行及首尾空格;

    7. 输出干净的纯文本描述。

  8. 2026-08-10 14:18:48, 由 唐珂 关联到计划 【刊登】26年8月V4。
  9. 2026-08-10 14:19:31, 由 唐珂 关联到迭代 智能-【选品刊登】 。
  10. 2026-08-10 14:24:58, 由 唐珂 编辑。
    修改了 上线时间,旧值为 "2026-08-20",新值为 "2026-08-25"。
    修改了 计划上线,旧值为 "2026-08-20",新值为 "2026-08-25"。
  11. 2026-08-15 10:29:24, 由 朱汉霖 添加备注。
    与产品确认,需求中的关于实体生成的部分内容,即【初始化完成之后,根据全套资料生成任务或者FBA资料抽取任务来触发,即有这两类任务完成的SKU,触发一次实体生成资料】调整为【初始化完成之后,只根据全套资料生成任务来触发,即只要有全套任务完成的SKU,就触发一次实体生成资料,无需再关注FBA资料抽取任务的完成情况】
  12. 2026-08-15 14:39:17, 由 朱汉霖 添加备注。
    与产品确认,需求中关于实体抽取的部分,即【执行实体生成前,必须确认当前 SiteCode + SKU 对应的以下任务均已执行完成一次完整的流程】中的【SiteCode + SKU】改为【SKU】,如果调用实体生成接口需要传站点,则只需传【US】。实体生成接口文档中的入参【site_code】是非必填字段,文档中对此字段的说明是【站点代码,默认 US/GB/CA/AU】,产品对此的解释是估计要求调用方传英语站点即可。
  13. 2026-08-17 23:27:49, 由 唐珂 关联到计划 【刊登】26年9月V1。
  14. 2026-08-20 09:10:37, 由 朱汉霖 指派给 程宽。
    修改了 指派给,旧值为 "zhuhanlin",新值为 "chengkuan"。
    分支提测
  15. 2026-08-25 17:13:37, 由 程宽 指派给 朱汉霖。
    修改了 指派给,旧值为 "chengkuan",新值为 "zhuhanlin"。
    分支测试通过
  16. 2026-08-25 17:16:13, 由 朱汉霖 指派给 程宽。
    修改了 指派给,旧值为 "zhuhanlin",新值为 "chengkuan"。
    主干提测
  17. 2026-08-25 17:24:43, 由 程宽 指派给 戴宝山。
    修改了 指派给,旧值为 "chengkuan",新值为 "daibaoshan"。

    主干测试通过产品验证



    db.SkuEntityExtractTask.find({ "SKU" : "4123953"})
       .projection({})
       .sort({_id:-1})


       
    db.SkuEntityInfo.find({"SKU" : "4123953"})
      .projection({})
      .sort({_id:-1})
      .limit(100)
      









  18. 2026-08-27 09:29:57, 由 程宽 编辑。
    修改了 所处阶段 ,旧值为 "projected",新值为 "tested"。
    修改了 设置阶段者,旧值为 "",新值为 "chengkuan"。
  19. 2026-08-27 09:30:12, 由 程宽 编辑。
    修改了 所处阶段 ,旧值为 "tested",新值为 "onlinetest"。
    修改了 设置阶段者,旧值为 "chengkuan",新值为 ""。
  20. 2026-08-27 09:30:30, 由 程宽 编辑。
    修改了 测试人员,旧值为 "",新值为 "chengkuan"。
  21. 2026-09-01 11:30:30, 由 程宽 编辑。
    修改了 所处阶段 ,旧值为 "onlinetest",新值为 "released"。
    修改了 设置阶段者,旧值为 "",新值为 "chengkuan"。
  22. 2026-10-24 16:07:18, 由 戴宝山 编辑。
    修改了 所处阶段 ,旧值为 "released",新值为 "bepending"。
    修改了 设置阶段者,旧值为 "chengkuan",新值为 ""。
迭代版本
提报业务部门 智能研发中心
提报人员 沈伯潜
需求来源 业务方迭代需求
所属项目 智能中心-需求池
所属模块 战略独立项目   智能刊登
所属计划
业务价值
开发组 FBM智能项目部
受益业务部门 智能研发中心
验收人员 陈广规
业务目标类型
中心业务目标
业务价值 提高收入
每月价值量 200000
每月节省人数 1
优先级 P0
价值类型 长期价值
预计工时 48
成本 24000
ROI 50.00
操作手册 是
高价值 -
主被动 被动接收
复杂度 一般性
工作流ID
工作流创建时间 0000-00-00 00:00:00
更新点 常规更新
是否高危 否
评分
当前状态 激活
所处阶段 业务验收中
关键词
评审次数 一次
计划上线 2026-08-25
上线时间 2026-08-25
计划验收时间 0000-00-00
业务验收时间
满意度
价值验收
满意度分值
业务回填价值
验收达成价值
验收达成ROI
抄送给
由谁创建 戴宝山 于 2026-08-03 11:53:33
指派给 戴宝山 于 2026-10-24 16:07:18
由谁评审 张华
评审时间 2026-08-04
由谁关闭
关闭原因
最后修改 戴宝山 于 2026-10-24 16:07:18
相关Bug
相关用例
相关需求
细分需求