Chat your way to a faster commute!

 Upkar Lidder

    Jose Rojas                    

X

https://developer.tomtom.com/

Tom Watson

@lidderupk
IBM Developer

Part 1: Building with the Watson Assistant

Skill vs Assistant

@lidderupk
IBM Developer

Intents

@lidderupk
IBM Developer

Catalog

@lidderupk
IBM Developer

Entities

@lidderupk
IBM Developer

System Entities

@lidderupk
IBM Developer

Dialog

@lidderupk
IBM Developer

Dialog

@lidderupk
IBM Developer

Deploy

@lidderupk
IBM Developer
@lidderupk
IBM Developer

http://bit.ly/bot-tips

Part 2: IBM Cloud Functions

What is Serverless

Serverless computing refers to the concept of building and running applications that do not require server management.

 

It describes a finer-grained deployment model where applications, bundled as one or more functions, are uploaded to a platform and then executed, scaled, and billed in response to the exact demand needed at the moment.

 

It refers to the idea that consumers of serverless computing no longer need to spend time and resources on server provisioning, maintenance, updates, scaling, and capacity planning. Instead, all of these tasks and capabilities are handled by a serverless platform and are completely abstracted away from the developers​.

Cloud Native Computing Foundation

https://github.com/cncf/wg-serverless/tree/master/whitepapers/serverless-overview

@lidderupk
IBM Developer

Use Cases

  • Secure and scalable APIs
    • API Gateway Function
    • HTTP level scaling

 

  • Backend services / micro services
    • function/service level scaling
    • polyglot functions

 

  • Event Driven Programming
    • Changes in database
    • Social events
@lidderupk
IBM Developer

Part 3: TomTom Integration

TomTom Traffic

@JJ_R_Ealo

Register on the portal to get a free API key.

What are we integrating?

Minute-to-minute incident data.

@JJ_R_Ealo
  • Updated every 2 minutes in 77 countries
  • Various types of incidents supported: traffic jams, accidents, roadworks, road closures
  • The incidents include: incident type, severity, delays, location, length
  • Transparent 256x256 tiles to overlay on a map
  • Vector and raster format
  • Possibility to customize vector tiles styles
  • Incident details for a bounding box in XML and JSON

The TomTom Traffic Incidents API offers a view on the most significant incidents impacting traffic in an area.

The incidents can be delivered as tiles to visualize on a map and can be customized to fit any style.

The list of incidents with its full details can also be retrieved, enabling easy integration into traffic monitoring dashboards.

Traffic Incidents

Traffic Documentation

Required values to test your call.

@JJ_R_Ealo

Traffic Documentation

Test your details with the API explorer, so you can refer to the documentation as you work.

@JJ_R_Ealo

check-accident Function

@JJ_R_Ealo

check-accident Function

@JJ_R_Ealo

Take it to the next level with Routing

25 years of navigation experience in one API

Calculate routes for different transportation modes, including trucks

Get accurate travel times and ETAs for your drivers

Optimize routes with waypoints for trucks

Calculate the energy and fuel required for a trip

Estimate the exact range of a an electric vehicle

 

•Powered by predictive and real-time traffic

•8 travel modes including bikes and trucks

•4 route types, including exclusive Eco routing for energy efficient routes

•Routes with up to 150 waypoints

•Advanced consumption models for combustion and electric engines

•Avoid criteria: toll roads, vignettes, ferries, motorways, custom areas

•Time and fuel based isochrones

•Batch and Matrix routing

 

FEATURES

Routing: Travel Modes to Check Out

With 25 years of experience in navigating millions of drivers, TomTom knows how to tailor the route to the vehicle.

The TomTom Routing API Travel modes calculates routes taking into account applicable restrictions, dimensions, cargo for 8 vehicle types.

That means safer, faster routes and less unpleasant surprises.

Travel modes supported:

  • Car

  • Truck

  • Bicycle

  • Pedestrian

  • Taxi (beta)

  • Bus (beta)

  • Van (beta)

  • Motorcycle (beta)

Thank you-Let's chat !

Upkar Lidder, IBM

@lidderupk

https://github.com/lidderupk/

ulidder@us.ibm.com

Jose Jose Rojas, TomTom

@JJ_R_Ealo

https://github.com/ovahsen

Jose.Rojas@tomtom.com

@JJ_R_Ealo

Slots

@lidderupk
IBM Developer

Add slots to a dialog node to gather multiple pieces of information from a user within that node.

 

Slots collect information at the users' pace. Details the user provides upfront are saved, and the service asks only for the details they do not.

 

Digressions

@lidderupk
IBM Developer

Use digressions to handle interruptions and off topic short conversations.

Digressions allow the user to change topics or ask for more information and allows them to come back to the original intent.

 

Example:

Make an appointment.

What times are you open?

 

Handlers

@lidderupk
IBM Developer

Use handlers to

  • provide responses to questions users might ask during the interaction that are tangential to the purpose of the node
  • provide exit route

 

Example: I need to talk to an agent.

 

Where to go from here ...

@lidderupk
IBM Developer
  • Advance features
    • Disambiguation
    • New intents by clustering existing data
    • Handlers - handle interruptions in your dialog
    • Recommendations to create entities
    • Advanced analytics/testing/monitoring

 

  • Call out to a service
    • Watson Assistant can call out to IBM Cloud Functions

 

  • Add code to your bot
    • Watson Assistant Expression Language

IBM Code Patterns

@lidderupk
IBM Developer
Made with Slides.com