Invoking application programming interface calls using voice commands
First Claim
1. A computer-implemented method for invoking application programming interface (“
- API”
) calls through voice commands, the method comprising executing instructions in a computer system to perform the operations of;
receiving an annotated API description comprising descriptions of one or more APIs and speech annotations for the one or more APIs;
receiving a voice API command from a user;
converting the voice API command into a text API command using the speech annotations in the annotated API description;
translating the text API command into an API call request based on the annotated API description;
invoking an API call by sending the API call request to a corresponding API;
receiving an API call result from the corresponding API;
generating a text result interpretation based on the API call result using the annotated API description;
converting the text result interpretation into an audio API response using the speech annotations in the annotated API description; and
generating the audio API response.
1 Assignment
0 Petitions
Accused Products
Abstract
Technologies are described herein for invoking API calls through voice commands. An annotated API description is received at a voice API interface. The annotated API description comprises descriptions of one or more APIs and speech annotations for the one or more APIs. The voice API interface further receives a voice API command from a client. By utilizing the annotated API description and the speech annotations contained therein, the voice API interface converts the voice API command into an API call request, which is then sent to the corresponding service for execution. Once the service returns an API call result, the voice API interface interprets the API call result and further converts it into an audio API response based on the information contained in the annotated API description and the speech annotations. The audio API response is then sent to the client.
17 Citations
20 Claims
-
1. A computer-implemented method for invoking application programming interface (“
- API”
) calls through voice commands, the method comprising executing instructions in a computer system to perform the operations of;receiving an annotated API description comprising descriptions of one or more APIs and speech annotations for the one or more APIs; receiving a voice API command from a user; converting the voice API command into a text API command using the speech annotations in the annotated API description; translating the text API command into an API call request based on the annotated API description; invoking an API call by sending the API call request to a corresponding API; receiving an API call result from the corresponding API; generating a text result interpretation based on the API call result using the annotated API description; converting the text result interpretation into an audio API response using the speech annotations in the annotated API description; and generating the audio API response. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- API”
-
8. A computer system for invoking application programming interface (“
- API”
) calls through voice commands, the system comprising;at least one computing device executing a voice API interface configured to receive an annotated API description describing the one or more APIs, the annotated API description comprising speech annotations for the one or more APIs and a mapping of API call results of the one or more APIs to a text result, receive a voice API command from a user, convert the voice API command into an API call request based on the annotated API description, send the API call request to one or more APIs exposed by services hosted by one or more computing devices and receive an API call result from the one or more APIs, and generate an audio API response based on the API call result by generating text result based on the API call results using the annotated API description and by converting the text result into the audio API response using the speech annotations in the annotated API description. - View Dependent Claims (9, 10, 11, 12, 13, 14)
- API”
-
15. A non-transitory computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by a computer, cause the computer to:
-
convert a voice API command received from a user into an API call request using speech annotations contained in an annotated API description for one or more APIs, the annotated API description further comprising interpretation of API call results of the one or more APIs in human-understandable language; send the API call request to a corresponding API; receive an API call result from the corresponding API; and generate an audio API response based on the API call result by generating a text result interpretation based on the API call result using the annotated API description and by converting the text result interpretation into the audio API response using the speech annotations in the annotated API description. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification