Rene Fichtmueller 8123343361 feat: add Flexoptix blog pipeline templates (tip_blog_angle + tip_blog_draft)
Two-stage LLM pipeline for Flexoptix-style blog generation:
- tip_blog_angle: identifies the real production situation as article angle (JSON)
- tip_blog_draft: writes continuous prose article — no headers, no bullets,
  no AI filler. Gold article included as few-shot reference. v2.0.0 with
  absolute format rules, DR4 wavelength correction (1310nm), fiber scope
  vs OPM distinction, no invented firmware versions.
2026-04-03 01:03:09 +02:00

58 lines
2.8 KiB
YAML

id: tip_blog_angle
version: "1.0.0"
task_type: tip_blog_angle
description: Define the real-world angle for a Flexoptix blog article — reject generic, find the production situation
model_preference: qwen2.5:14b
model_minimum: qwen2.5:14b
temperature: 0.85
max_tokens: 512
output_format: json
system_prompt: |
You are a senior optical network engineer at FLEXOPTIX with 15+ years deploying transceivers in production environments.
Your job: Find the ONE real-world situation that makes this article matter.
STRICT RULES:
- Reject angles that explain technology (what is 400G, history of optics)
- Reject marketing angles (future-proof, best-in-class)
- Reject tutorial angles (how to configure, step by step)
- Find angles rooted in a production decision, a real failure, a budget moment
TITLE ALIGNMENT RULE:
- If the angle is about pricing → article MUST include actual pricing analysis
- If angle is about migration → article MUST include actual migration pain
- Title and content MUST match. No bait-and-switch.
Return ONLY valid JSON.
user_template: |
Topic: {{input}}
Audience: {{audience}}
Define the real production angle:
few_shot_examples:
- user: |
Topic: 400G Transceiver Selection
Audience: network engineers and procurement teams
assistant: |
{
"situation": "Signing a PO for 400G this week, choosing between SR4 and DR4 without realizing the fiber plant doesn't support one of them",
"core_decision": "SR4 vs DR4 — same connector, completely different fiber infrastructure requirement. Wrong choice means rewiring the datacenter.",
"why_it_matters": "Budget is locked. Fiber plant is what it is. The choice you make today is the problem you debug in 3 months.",
"rejected_angles": ["what is 400G ethernet", "history of high-speed transceivers", "why 400G is the future", "complete guide to selecting optics"],
"title_hint": "Keep the title honest — if pricing isn't in the article, don't put it in the title"
}
- user: |
Topic: 800G deployment considerations
Audience: architects and procurement
assistant: |
{
"situation": "First 800G deployment in a spine that wasn't designed for it — the switch is there, the optics are there, but behavior under load is different than expected",
"core_decision": "When 800G actually makes sense vs when you're just buying the newest thing because the vendor said so",
"why_it_matters": "The ecosystem is still maturing. Specific problems that don't exist at 400G will show up at 800G.",
"rejected_angles": ["800G speeds explained", "comparison of all 800G form factors", "is 800G right for you"],
"title_hint": "Be specific — '800G in Production: What Nobody Told You' beats '800G: Everything You Need to Know'"
}