This branch adds integration with a new wit.ai NLP app that has been trained to recognize the existing /hal functionality coinFlip and derp (reference). It also adds new functionality timeAtLocation, which integrates with both our wit.ai app and a free World Time API to determine what the current time is for a location.
For each of these tasks, a simple text query is received by the /hal endpoint, which then triggers a query to our wit.ai app. If our wit.ai app is able to determine an intent from the sentence, then we process that intent (intent being coinFlip, derp, or timeAtLocation) with the optional entities that wit.ai determines (no entities for coinFlip or derp, location data for timeAtLocation) - wit.ai docs for reference.
This branch adds integration with a new wit.ai NLP app that has been trained to recognize the existing /hal functionality coinFlip and derp (reference). It also adds new functionality timeAtLocation, which integrates with both our wit.ai app and a free World Time API to determine what the current time is for a location.
For each of these tasks, a simple text query is received by the /hal endpoint, which then triggers a query to our wit.ai app. If our wit.ai app is able to determine an intent from the sentence, then we process that intent (intent being coinFlip, derp, or timeAtLocation) with the optional entities that wit.ai determines (no entities for coinFlip or derp, location data for timeAtLocation) - wit.ai docs for reference.
Next step after this is https://github.com/galatea-associates/fuse-starter-java/issues/191, which will involve creating several new issues to handle integration and support additional functionality.