hub-gif
|
36ad21de6e
|
feat(pipeline): 策略 LLM 并入宿主报告按细类的大模型归纳节选
从 competitor_analysis.md 抽取 #### 细类名 下正文;收窄矩阵分组时传入 report_matrix_group_evidence_md,并在系统提示中约定与 structured_brief 及第九章节选的分工。
Made-with: Cursor
|
2026-04-20 17:55:50 +08:00 |
|
hub-gif
|
6143ad6180
|
feat(pipeline): 策略生成按矩阵分组收窄 brief 输入
新增 strategy_matrix_group / strategy_matrix_group_index 请求参数;收窄后价盘与集中度按分组内 SKU 重算;摘要 GET 与策略 POST 响应附带 matrix_groups。
Made-with: Cursor
|
2026-04-20 17:45:15 +08:00 |
|
hub-gif
|
f09a46a79e
|
feat(pipeline): 策略表单增加营销与总体策略并顺延规则稿章节
- API:marketing_strategy、general_strategy;规则骨架新增「二、营销策略与总体方向」,原 §2–§9 顺延为 §3–§10。
- LLM 提示与探针说明用语同步;OpenAPI、单测与策略生成页字段集「五」已对齐。
Made-with: Cursor
|
2026-04-17 17:08:25 +08:00 |
|
hub-gif
|
16d64565a3
|
feat(pipeline): 策略骨架缩短并强化策略生成决策边界
- 规则稿:章节重排为短骨架,去重复假设套话;探针模式三条占位,传统模式改为统计摘录句式。
- LLM:STRATEGY_SYSTEM 明确表单已定项不可反写,空项由数据补全,成稿禁止二次决策话术。
- API/前端:新增目标客群、主要对标、资源备注字段并传入 strategy_decisions。
- OpenAPI 与单测同步。
Made-with: Cursor
|
2026-04-17 17:04:24 +08:00 |
|
hub-gif
|
932c3d6aeb
|
fix(strategy): 文本挖掘开启时策略稿不再依赖关注词/场景计数
报告配置 chapter8_text_mining_probe 为 True(默认)时,规则底稿第五节改为说明口径并去掉子串命中列表;LLM 请求从 structured_brief 剔除相关字段并附 omission_note。关闭探针时保留旧版第五节。任务 API 传入 report_config。
Made-with: Cursor
|
2026-04-17 16:56:08 +08:00 |
|
hub-gif
|
7d219feb3c
|
feat(pipeline): 策略页独立 strategy_config 与仅规则稿选项
新增 PipelineJob.strategy_config(默认 use_llm_default);GET /api/strategy-config-defaults/;PATCH 任务可保存策略偏好。策略生成页:本次仅规则稿复选框(默认关)、保存策略偏好、任务下拉去掉目录;第九章对齐仍由服务端默认处理。迁移 0021。
Made-with: Cursor
|
2026-04-17 16:41:20 +08:00 |
|
hub-gif
|
6e113bbdfe
|
feat(pipeline): S1 策略稿与第九章对齐(report_strategy_excerpt)
新增 load_report_strategy_excerpt:优先 strategy_opportunities_llm.json 的 markdown,否则从 competitor_analysis.md 截取第九章;runner 成功时落盘 markdown 字段。STRATEGY_SYSTEM 收紧与 report_strategy_excerpt 一致及业务冲突标注。策略稿 API 返回节选来源与字符数;补充单测与 OpenAPI、规划文档。
Made-with: Cursor
|
2026-04-17 16:26:00 +08:00 |
|
hub-gif
|
e4a05f3ce6
|
refactor(pipeline): 移除 csv_schema 等根目录中转,统一从 pipeline.csv 子包导入
- 删除 csv_schema.py、csv_header_rewrite.py、matrix_group_label.py(无引用)
- 全库改为 from pipeline.csv.schema / pipeline.csv.header_rewrite;文档字符串同步
- 与此前 jd_competitor_report 去中转同一策略
Made-with: Cursor
|
2026-04-17 14:48:32 +08:00 |
|
hub-gif
|
0e224c6a6c
|
refactor(pipeline): 移除 jd_competitor_report 中转,统一导入 competitor_report.jd_report
- 删除 backend/pipeline/jd_competitor_report.py;runner/测试与演示改为 from pipeline.competitor_report import jd_report
- 爬虫目录 jd_competitor_report.py 仅调用 jd_report.main;文档与 OpenAPI 同步更新
- 命令行推荐:python -m pipeline.competitor_report.jd_report
Made-with: Cursor
|
2026-04-17 14:46:21 +08:00 |
|
hub-gif
|
c57014a067
|
refactor(pipeline): 将 API 视图拆为按领域子模块
- 原单文件 views.py 改为包 pipeline/views/:公共辅助、任务生命周期、报告与导出、数据集、商品快照、入库。
- urls 仍使用 from . import views,对外符号通过 __init__.py 聚合导出,行为不变。
Made-with: Cursor
|
2026-04-17 11:20:47 +08:00 |
|