Meridia puts good news on a map. Stories come in from RSS feeds, AI sorts each one, and it becomes a pin. In the screenshot at the top the map holds 26,936 stories.
The map was the easy part. The hard part is that news doesn't say where something happened in a way a map can use.
News is vague about places
Articles say "the region", "local authorities", "a hospital in northern Italy". So for every story the model has to give me one specific place name and a country code, or say there isn't one. Some stories simply have no place, and that has to be an allowed answer.
The prompt needs fallback rules and a confidence threshold, or pins land in the wrong spot.
A pin isn't always a point
A story can have one of three shapes:
- Point: one place. A city, an institution, a research site.
- Zone: an area. A nature reserve, a protected region, a policy for a whole country.
- Journey: movement between two named places. A species being relocated, a repatriation, a delivery.
The edge cases go in the prompt
The rules for each shape are written out in the prompt, with the awkward cases spelled out. A space launch isn't a journey. A global event with nothing on Earth to anchor it doesn't go on the map as a place at all.
Each story comes back with its place, country and shape already decided, so the map has nothing left to work out when someone opens it.
