Design DSPy Pipeline for Sports Highlights

planningChallenge

Prompt Content

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations