Milobella Ability to get the weather.
TODO: describe features
- Having
golang
installed instructions
$ go build -o bin/ability cmd/ability/main.go
$ bin/ability
$ curl -i -X POST http://localhost:4444/resolve -d '{"nlu":{"BestIntent": "GET_WEATHER"}}'
HTTP/1.1 200 OK
Date: Fri, 07 Jun 2019 17:08:46 GMT
Content-Length: 294
Content-Type: text/plain; charset=utf-8
{"nlg":{"sentence":"In {{city}} now, the temperature is {{temperature}}. {{weather_sentence}}","params":[{"name":"city","value":"Cannes","type":"string"},{"name":"temperature","value":21.78,"type":"string"},{"name":"weather_sentence","value":"","type":"inner"}]},"context":{"slot_filling":{}}}