Skip to content

Home / Work / RIVO

Conversational AI · Transport

RIVO

Ask about your train out loud. Get the live answer back.

Role
Solo — research, design and build
Year
2025
Stack
Python · Flask · Whisper · spaCy · National Rail LDBWS · gTTS

Status

Prototype

Working prototype, built during my A-levels

rivo — live departures, voice mode listening
RIVO web app: a train search form, a voice assistant panel that says 'Rivo is listening', and a live table of trains to Didcot Parkway and Reading with delay status.

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.