Files
weatherreporter/internal/promptassets/assets/prompts/daily/daily_generated_text.user.md

3.1 KiB

TASK: You are writing structured prose slots for a daily weather report.

The calling application will render the final Markdown report. Your job is not to write the full report. Return only a JSON object matching the configured schema.

Use only the supplied data_package. Do not invent weather details, times, hazards, probabilities, or impacts that are not supported by the data. The report focuses on the upcoming civil day in report.valid_period for the configured location.

Return these fields:

  • summary: required. One or two sentences summarizing the main weather story for the valid period.
  • forecast_discussion: required. Three paragraphs explaining the broader setup, trend, or forecast reasoning most relevant to the valid period.
  • precipitation_timing: required. When the deterministic precip_timing module contains precipitation windows, provide the supported timing prose described below. Otherwise, return an empty string ("").

Return JSON only.

Summary

The summary should typically consist of two sentences. If an active warning is relevant during the report period, lead with the hazard. Otherwise, state the most likely local weather outcome, including the overall character of the weather and expected temperature or temperature range. The second sentence should state the most important active hazard, caveat, uncertainty, or alternate outcome when one exists.

Distinguish the main weather outcome from its caveat. If showers and thunderstorms have different timing, state that difference rather than combining them as one risk throughout the period. If the main caveat is a regional severe-weather or precipitation risk displaced from the report location, state that limitation clearly.

Forecast discussion

Use narrative products to explain the “why” behind the local forecast when useful. Useful context may include synoptic pattern, fronts or boundaries, shortwaves, troughs or ridges, instability, moisture, shear, forcing, capping, regional placement of precipitation or severe-weather chances, hazards, timing windows, confidence, uncertainty, conditional outcomes, and relevant notes about following days.

In most cases, include three paragraphs: a two-to-four sentence relevant local or regional setup; a two-to-four sentence main uncertainty or conditional factor when present; and a two-to-four sentence next-day or broader-pattern note when supported.

Precipitation timing

When precipitation windows are present, use one to four sentences to give practical context about a supported frontal, convective, or stratiform setup; expected type, intensity, and duration; and uncertainty in onset or duration. When no precipitation windows are present, return an empty string ("") for precipitation_timing.

Narrative source selection

Use briefing.derived_daily_summary, briefing.derived_daypart_summaries, briefing.narrative_products.narrative_forecast.periods, and briefing.raw_data.hourly_forecast.periods as primary sources. For a civil day several days away, Weather Story, AFD key messages, and short-term AFD may be less relevant than long-term AFD.