生产流程总览 · Elite(德国)
不依赖交付日期:按当前 pipeline 把各环节物料来源、送进模型的摘要、prompt 路径与仓库内是否存在拼成一份流程报告,便于对照 elite_pipeline 与 cur_project/elite/standards/。
若 /materials/…/production-flow 无法打开,可试:/api/elite/de/production-flow(与当前查询参数一致)。
可选:variant= 固定 pipeline;requirement_id= 或 id= 从库加载一条需求以推导 variant,并展示 prefill_snapshot 节选。
Pipeline: 默认 brief_outline_test brief_outline_step brief_outline_up(UP)
当前 variant:brief_outline_up
若某 prompt 为 ✗,请核对分支、.en.md 别名及 ELITE_STANDARDS_ROOT。
0. SERP 与竞品正文(非 GPT) 非 GPT
原始物料 / 数据来源
- 表 ``project_require``:主词 / 国家 / 语种(SerpAPI 任务来源)
- 表 ``project_serp_blog`` / ``project_serp_paa``:organic + PAA(SerpAPI 或采集脚本写入)
- 脚本 ``scripts/collect_serp_project_require.py``、``scripts/fetch_project_serp_blog_body.py``(或 tools 下爬虫)
- 正文解析:``scrapers/AGENTS.md`` → ``create_driver('canonical_body_stack')`` + ``parser.extract_blog_fields_for_db``
发给模型的物料(摘要)
本步不向 GPT 送整篇;预填阶段仅送 ``compact_context_for_prefill`` 压缩后的 JSON(axes / digest / legal_industry_signals 等)。
1. UP:五类意图分类(GPT 第 1 段) GPT
默认 ``gpt-4o``(配置项 ``prefill_content_type_intent`` / 环境变量以仓库为准)。
原始物料 / 数据来源
- ``classification_input``(由 SERP 行 + 任务卡等拼成,见 content_type_intent_classification)
- ``standards/content-type-routing/content-type-map.json``
发给模型的物料(摘要)
分类提示词 + ``classification_input`` JSON;结果写入 ``prefill_snapshot.classification_result`` 及表列。
Prompt 文件(相对 cur_project/elite/standards/)
| 相对路径 | 存在 |
|---|---|
| content-type-routing/classification-prompt.md | ✓ |
| content-type-routing/classification-prompt.en.md | ✗ |
| content-type-intent-classification.en.md | ✓ |
代码入口
- cur_project/elite/elite_pipeline/content_type_intent_classification.py
2. UP:Brief + 结构(GPT 第 2 段) GPT
默认 ``gpt-5.5`` 档(``prefill_brief_structure``);以 ``elite_pipeline/config.py`` 为准。
原始物料 / 数据来源
- ``compact_context_for_prefill(ctx)`` 输出(含 ``classification_result`` 引用)
- ``standards/content-type-routing/*`` 路由产物(若启用)
发给模型的物料(摘要)
``brief-generation-prompt.md``:``{context_json}`` + 分类结果占位。
Prompt 文件(相对 cur_project/elite/standards/)
| 相对路径 | 存在 |
|---|---|
| content-type-routing/brief-generation-prompt.md | ✓ |
代码入口
- cur_project/elite/elite_pipeline/prefill_generation.py
- cur_project/elite/elite_pipeline/brief_generation_prompt.py
3. 撰写 Prompt 拼装(通常无 GPT) 非 GPT
原始物料 / 数据来源
- ``writing_requirements.prefill_snapshot``
- ``standards/writing-prompt-*-final*.md``(Step / UP 不同文件名)
- ``build_replacement_map``:竞品块、PAA、法规/行业(正文现算)等
发给模型的物料(摘要)
若快照含 preprocessor 块,可能含 GPT 回传的 §5 块;最终 Markdown 由模板替换生成。
Prompt 文件(相对 cur_project/elite/standards/)
| 相对路径 | 存在 |
|---|---|
| writing-prompt-de-final.md | ✗ |
| writing-prompt-fr-final.md | ✗ |
| writing-prompt-nl-final-step.en.md | ✗ |
| writing-prompt-de-final-up.md | ✓ |
| writing-prompt-de-final-up.en.md | ✓ |
| writing-prompt-fr-final-up.md | ✓ |
| writing-prompt-fr-final-up.en.md | ✓ |
代码入口
- cur_project/elite/elite_pipeline/prompt_fill.py
- cur_project/elite/elite_pipeline/prefill_writing.py
prefill_snapshot 节选
仅在选择需求 id 且库中有该行时展示;过长已截断。
(未指定 requirement_id / id,或库中无匹配行;上方步骤按当前推导的 pipeline 展示静态物料与 prompt 路径。指定 id 后可查看 prefill_snapshot 节选。)