Back to Prompt Library
planning

Design DSPy Pipeline for Sports Highlights

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Real-time AI Sports Content Generation & Moderation with DSPy

Format
Text-first
Lines
1
Sections
1
Linked challenge
Real-time AI Sports Content Generation & Moderation with DSPy

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Design a DSPy pipeline that takes a live sports commentary transcript segment and a `highlight_type` (e.g., 'goal', 'foul', 'interview') as input. The pipeline should generate a concise, engaging TikTok-style caption. Define appropriate `dspy.Signature`s for your generative modules to ensure structured and high-quality output. Document your reasoning for each module and its role.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.