|
@@ -33,7 +33,7 @@ description: 仅在需要写入 process_trace.json 时,用于记录最终输
|
|
|
- `output.json`(必须读取并以 `contents` 为准)
|
|
- `output.json`(必须读取并以 `contents` 为准)
|
|
|
- `query`:用于 `input_features` 拆分
|
|
- `query`:用于 `input_features` 拆分
|
|
|
- `contents[]`:每条入选内容,含 `aweme_id/title/author_nickname/reason/portrait_data.source` 等
|
|
- `contents[]`:每条入选内容,含 `aweme_id/title/author_nickname/reason/portrait_data.source` 等
|
|
|
-- `log.txt`:用于判断内容来自哪种策略、来自哪个 case出发/特征出发、搜索词与渠道等
|
|
|
|
|
|
|
+- `log.txt`:用于判断内容的 strategy_type(来自哪种策略)、from_case_point(来自哪个灵感点)、search_keyword(搜索词)与渠道等
|
|
|
|
|
|
|
|
## 生成规则(建议优先级)
|
|
## 生成规则(建议优先级)
|
|
|
对每个 `content in output.json.contents`:
|
|
对每个 `content in output.json.contents`:
|
|
@@ -42,10 +42,9 @@ description: 仅在需要写入 process_trace.json 时,用于记录最终输
|
|
|
3. `decision_basis`:
|
|
3. `decision_basis`:
|
|
|
- 若 `content.portrait_data.source == "content_like"` → `"内容画像匹配"`
|
|
- 若 `content.portrait_data.source == "content_like"` → `"内容画像匹配"`
|
|
|
- 若 `== "account_fans"` → `"作者画像匹配"`
|
|
- 若 `== "account_fans"` → `"作者画像匹配"`
|
|
|
- - 若 `== "none"` → `"画像缺失"`
|
|
|
|
|
- 否则 `"其他"`
|
|
- 否则 `"其他"`
|
|
|
4. `strategy_type/channel/search_keyword`:
|
|
4. `strategy_type/channel/search_keyword`:
|
|
|
- - 若日志/上下文能明确来源,按事实填(且用上面的中文枚举)
|
|
|
|
|
|
|
+ - 在`log.txt`/上下文找明确来源,按事实填(且用上面的中文枚举)
|
|
|
- 否则 字段留空
|
|
- 否则 字段留空
|
|
|
5. `from_case_* / from_feature`:能确定就填;不确定可空串。
|
|
5. `from_case_* / from_feature`:能确定就填;不确定可空串。
|
|
|
|
|
|