Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you Steve.

I don't know much about Siri or Google Now voice activation APIs ("Hey Siri" and "OK Google"). Also (as you're probably aware), Google just came out with an Echo competitor called Google Home, which presumably operates on APIs like Echo's.

I think the model itself is probably a generic one. For Echo, speech maps to actions executed on a server, so you can say:

"Alexa, ask calculator what's two plus three"

and from there, Alexa does the non-trivial work of determining that:

1. "calculator" is a skill (i.e. program)

2. "what's two plus three" maps to a function of the program

3. "two" and "three" are arguments of the function.

The Alexa Skills Kit's job is to parse the speech, break it down into those elements, and pass it securely to your program using JSON over HTTPS.

Flask-Ask provides natural mappings to corresponding Python constructs (programs, functions, parameters) through a decorator-based API.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: