PrompTugal on Mistral: morning briefing
London and Lisbon, the morning briefing
Two cities, one briefing: today's weather and warnings for London and for Lisbon, where PrompTugal is. Code picks the day's facts from PrompTugal's public data; a Mistral model writes the two columns and one line side by side, from those facts only; code then checks every figure, every warning and the weekday.
What this page reads, and from where
Three files from data.promptugal.news, read by your browser with a plain GET (no key, no cookies), only when you press "Read the data" in step 3:
https://data.promptugal.news/api/v1/by-place/now/london.json: London now: Open-Meteo's forecast and the Environment Agency's flood warnings.https://data.promptugal.news/api/v1/open-meteo-london/latest.json: Open-Meteo's hourly forecast for London.https://data.promptugal.news/api/v1/by-place/now/lisboa.json: Lisbon now: IPMA's forecast, warnings, fire risk and sea.
Licences, from the files (as read on 21 November 2026): Environment Agency data under the Open Government Licence v3.0; Open-Meteo under CC BY 4.0 (free API, non-commercial use); IPMA's data for use without a profit-making purpose only. This demonstration is not commercial. Not a warning service: in London follow the Environment Agency and the Met Office; in Lisbon, IPMA and ANEPC.
1. The recorded run (no key needed)
One real run through Mistral's API, saved as a file on this site. Replaying it sends nothing anywhere.
The facts
The briefing
2. Your Mistral key
Your key stays in this tab's memory and goes only to the Mistral endpoint you choose.
If your browser offers to save this key as a password, choose Never.
No key set.
Mistral's Free mode: what you send may be used to train Mistral's models unless you switch that off, so say nothing confidential.
Your key as a QR code
If you were given your key as a QR code: open its link on this device (the key comes after "#" in the link, and this page takes it from there), or paste or drop a picture of the QR code below. The picture is read here, in this tab, and sent nowhere.
Paste a picture of the QR code here (Ctrl+V, or Cmd+V on a Mac), or drop it here
What happens to a key from a QR code
Opened as a link: the browser never sends the part after "#" to any server, and this page removes it from the address bar and this tab's history the moment it loads. Your camera app or browser may still keep the link in its own history, so treat that link like the key itself, and revoke the key in your Mistral console after the event. As a picture: decoded with your browser's own QR reader or, where it has none, jsQR, a copy kept on this site. Either way the page asks you first whether to use it, because anyone can send a link with their own key in it; then the key goes into the key box above, held in this tab's memory only, and is never shown.
Where your key goes
It goes in the Authorization header, and only when you press a button that sends something to Mistral. It is never stored, never shown, never sent to this site or to PrompTugal, and gone when you close or reload the tab. Use a key with a spending limit.
On Mistral's free plan, what you send through the API may be used to train Mistral's models unless you switch that off in your Mistral admin panel (how to opt out, as read on 21 November 2026).
3. Today's briefing, live
a. Read the data (no key, nothing sent to Mistral)
b. Write the briefing
What this call sends, and to whom
Every call to Mistral made from this tab
| Time | To | Model | For | What was sent | Status | Time taken | Usage and cost |
|---|---|---|---|---|---|---|---|
| No calls yet. Nothing has been sent from this tab. | |||||||
Kept in memory in this tab only. Cost is an estimate from Mistral's published list prices (pricing, as read on 21 November 2026). Not an invoice.
What we found in the recorded run
One run, 21 November 2026 at 03:01 UTC, mistral-small-2603 on api.mistral.ai at temperature 0 in JSON mode, briefing for Saturday 21 November, on PrompTugal data read at 18:04 to 18:16 UTC on 20 November. n = 1: an example, not a benchmark.
- The two columns are right: every figure in them is in the facts, Lisbon's yellow rain warning (12:00 to 18:00) is named, and London's column says no flood warning is in force, as the data says.
- The side-by-side line says London's high "is 9.8°C lower than Lisboa's". The prompt said not to compute differences. The sum is right (19.2 minus 9.4), but 9.8 is not in the data, and the figure check marks it red: a number the model made, not one PrompTugal gave.
- The model echoed the
<untrusted-data>markers around the "follow" lines. The page removes them in code and says so.
How it works
- The facts are picked in code, with no model: morning-facts.js. For London, the day's forecast and, between 07:00 and 21:00, the highest hourly chance of rain and the strongest gust; the flood warnings in force. For Lisbon, the day's forecast, the warnings that touch the day, the fire risk and the sea when it is for that day.
- The model gets only that JSON, inside
<untrusted-data>markers, at temperature 0, and must answer as JSON with four fields. The page shows text only, never HTML. - The key box, the call function and "what this call sends, and to whom" are kit.js, shared with the other demos, unchanged. This page talks to three places only: this site, data.promptugal.news (without your key) and the Mistral endpoint you choose (with your key, when you press the button). Its content security policy enforces that.



