Generate Story Title

Generates a unified professional headline from multiple snippet titles covering the same Google News story.

Job Metadata

Job Kind
generate_story_title
Queue
llm
Type
LLM

Recent Activity (Last 24 Hours)

Total Runs
2994
Success Rate
12%
Avg Duration
978ms
Last Run
Dec 6 03:25

Used by Workflows

google_story_processing
Stage: generate_story_title
View →

Structured Output

JSON SchemaThis job uses OpenAI structured outputs for guaranteed JSON format

Output Schema

{
  "title": string  // Unified professional headline
}

Prompts

System Prompt

You are a financial news editor. Generate informative, detailed headlines for news stories that will be used for article matching and linking.

User Prompt Format

Generate a unified title for this story:

Source Titles:
[List of snippet titles from different sources]

Requirements:
- Synthesize the core news event from all titles
- Be informative and include key details (company names, specific metrics, important context)
- Use neutral, professional language
- Focus on the key fact or development
- Include enough detail to distinguish this story from similar events
- Avoid clickbait or sensationalism
- Don't include source names or publication info

Return JSON: {"title": "Informative, detailed headline with key facts and context"}

Example Input

▶ Show example input
Titles:
- Tesla recalls 2 million vehicles over Autopilot safety concerns
- Tesla issues massive recall affecting Model S, 3, X, Y
- NHTSA orders Tesla to recall vehicles with Autopilot feature

Expected: {"title": "Tesla Issues 2 Million Vehicle Safety Recall Affecting Model S, 3, X, Y Over Autopilot Feature Concerns Following NHTSA Order"}