CPC H04L 67/51 (2022.05) [G06F 9/4881 (2013.01); G06F 9/541 (2013.01); G06N 20/00 (2019.01)] | 19 Claims |
1. A method for providing artificial intelligence services comprising:
receiving an unfulfilled artificial intelligence service request from a user interaction application, the user interaction application operating on an operating system of a first user device, wherein the first user device is a mobile device and wherein the unfulfilled artificial intelligence service request is for language understanding to process the speech of the user into a text command that can be processed by the user interaction application to generate a response to the user's speech in accordance with the fulfilled artificial intelligence service request;
determining if a first artificial intelligence service module in the first user device has an ability to process the speech into the text command and generate a fulfilled artificial service request comprising the text command derived by the first artificial intelligence service module from the speech of the user using natural language processing;
if the first artificial intelligence service module in the first user device is determined to have the ability to process the speech into the text command and generate the fulfilled artificial intelligence service request, then the first artificial intelligence service module in the first user device processes the speech into a text command and provides the fulfilled artificial intelligence service request comprising the text command to the user interaction application, the first artificial intelligence service module processing the unfulfilled artificial intelligence service request to generate the fulfilled artificial intelligence service request comprising the text command derived by the first artificial intelligence service module from the speech using natural language understanding; and if the first artificial intelligence service module is determined to lack the ability to process the speech into the text command and generate the fulfilled artificial intelligence service request, then transmitting the unfulfilled artificial intelligence service request to another device different from the first user device to process the speech into the text command and generate the fulfilled artificial service request for processing by the user interaction application, the another device's artificial intelligence service module processing the unfulfilled artificial intelligence service request to generate the fulfilled artificial service request comprising the text command derived from the speech by the other device's artificial intelligence service module using language processing:
determining if the fulfilled artificial intelligence service request is compatible with and able to operate in the operating system and the user interaction application,
if the fulfilled artificial intelligence service request is compatible with and able to operate in the operating system and the user interaction application, transmitting the fulfilled artificial intelligence service request to the user interaction application; and
if the fulfilled artificial intelligence service request is not compatible with or able to operate in the operating system and the user interaction application, converting the fulfilled artificial intelligence service request into a secondary fulfilled artificial intelligence service request that is compatible with and able to operate in the operating system and the user interaction application and transmitting the secondary fulfilled artificial intelligence service request to the user interaction application.
|