jeremyandrews / kakaia

Kakaia personal assistant
MIT License
13 stars 0 forks source link

add math command #21

Closed jeremyandrews closed 4 years ago

jeremyandrews commented 4 years ago

Add a command for performing basic mathematical calculation.

For example:

jeremyandrews commented 4 years ago

The Snips number entity should make it fairly easy to create this command:

jeremyandrews commented 4 years ago

This is now working:

$ curl --data @test/ten-plus-ten.base64 http://127.0.0.1:8088/convert/audio/text
{"command":"simpleCalculation","human":"10 plus 10 equals 20","raw":"what is ten plus ten","result":20.0}