
01 — The problem
Checking a train mid-journey means station codes, menus and rigid search forms — exactly when you have the least time. The live data exists, but it isn't conversational and it isn't built for someone on a platform.
02 — What I built
RIVO takes a spoken or typed question, works out the stations and intent, queries National Rail's Live Departure Boards service and answers with the next trains, expected times, platforms and delay reasons — read back aloud.
- 01Speech-to-text with OpenAI Whisper; replies spoken back with gTTS
- 02Natural-language parsing of stations and intent (spaCy / NLTK)
- 03Live departures, platforms and delay reasons from the National Rail LDBWS SOAP API
- 04Flask web app with sessions and rate limiting
03 — What I learned
- Wrapping a legacy SOAP service behind a conversational interface
- Designing for voice: short answers, confirmation, graceful failure
- Why real-time data needs defensive parsing
04 — Next
Moving from reporting delays to anticipating them from historical running data.