pmyers88 / dc-metro-echo

Echo app to tell a user when the next train is arriving at a given metro station.
MIT License
3 stars 3 forks source link

Better voice interface when there is one station option #44

Closed pmyers88 closed 8 years ago

pmyers88 commented 8 years ago

When it's close to closing, there may only be 1 train arriving at the requested station. This is how the current voice interface works:

When is the next train arriving at Ballston? Are you going to Vienna? Yes. Sorry, there was a problem with the requested skills response.

Maybe switch to:

When is the next train arriving at Ballston? The next train from Ballston to Vienna arrives in 8 minutes. There are no other trains arriving at Ballston in the next 20 minutes.

rjbeers commented 8 years ago

Do we handle it well if there are no trains at all?

pmyers88 commented 8 years ago

Yea, we say "Sorry, there are no trains running at this time".