From b0f71f196a6ca206ceb42dca5daaaa23404179ca Mon Sep 17 00:00:00 2001 From: hub-gif <2487812171@qq.com> Date: Thu, 16 Apr 2026 17:35:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(pipeline):=20=E9=BB=98=E8=AE=A4=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E7=AC=AC=E5=85=AB=E7=AB=A0=E6=96=87=E6=9C=AC=E6=8C=96?= =?UTF-8?q?=E6=8E=98=E6=8E=A2=E9=92=88=EF=BC=88report=5Fconfig=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- backend/pipeline/demos/chapter8_text_mining_probe.py | 2 +- backend/pipeline/jd/runner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/pipeline/demos/chapter8_text_mining_probe.py b/backend/pipeline/demos/chapter8_text_mining_probe.py index 8d24964..f39a6d7 100644 --- a/backend/pipeline/demos/chapter8_text_mining_probe.py +++ b/backend/pipeline/demos/chapter8_text_mining_probe.py @@ -17,7 +17,7 @@ 输出:默认写入 ``/chapter8_text_mining_probe.md``。 -嵌入竞品报告:任务 ``report_config`` 中 ``chapter8_text_mining_probe``: true 时,流水线会生成本稿并调用 ``markdown_embed_body_for_competitor_report`` 写入 ``competitor_analysis.md`` 的 **§8.3**,替代原「关注词 + 场景」条图及对应两段大模型;**§8.2 与「大模型深入解读(主题归因…)」保留**。 +嵌入竞品报告:流水线默认开启(``get_default_report_config`` 中 ``chapter8_text_mining_probe``: true);若任务显式关闭则为 false。开启时会生成本稿并调用 ``markdown_embed_body_for_competitor_report`` 写入 ``competitor_analysis.md`` 的 **§8.3**,替代原「关注词 + 场景」条图及对应两段大模型;**§8.2 与「大模型深入解读(主题归因…)」保留**。 """ from __future__ import annotations diff --git a/backend/pipeline/jd/runner.py b/backend/pipeline/jd/runner.py index fd3a89e..40382f8 100644 --- a/backend/pipeline/jd/runner.py +++ b/backend/pipeline/jd/runner.py @@ -174,7 +174,7 @@ def get_default_report_config() -> dict[str, Any]: "llm_promo_group_summaries": True, "llm_strategy_opportunities": True, "llm_group_summaries_chunk_by_matrix": True, - "chapter8_text_mining_probe": False, + "chapter8_text_mining_probe": True, "chapter8_text_mining_probe_live_llm": True, "chapter8_text_mining_probe_llm_chunked": True, "chapter8_text_mining_probe_wordcloud": True,