CPC G06F 40/20 (2020.01) [G06F 16/3329 (2019.01); G06F 40/35 (2020.01)] | 20 Claims |
1. A method for intent-based natural language processing, comprising:
receiving, at a channel adapter for a conversation engine and from a conversation program executed on a user electronic device, a unique identifier for a user;
calling, by the conversation engine, an external controls program with the unique identifier and a type of the user electronic device, wherein the external controls program applies a rule to the unique identifier and/or the type of user electronic device to identify a directive of intent and an alternate action for the directive of intent;
receiving, by the conversation engine and from the external controls program, the directive of intent and the alternate action;
receiving, by the conversation engine, text of an utterance in a conversation from the conversation program;
selecting, by the conversation engine, one of a plurality of priorities of intents based on the text of the utterance;
communicating, by the conversation engine, the text of the utterance to a natural language understanding computer program;
receiving, by the conversation engine, a plurality of potential intents and a confidence score for each potential intent from the natural language understanding computer program;
selecting, by the conversation engine, a selected intent based on the selected priority of intents, the potential intents, and the confidence scores;
determining, by the conversation engine, that the directive of intent matches the selected intent; and
executing, by the conversation engine, the alternate action;
wherein the intents in a first of the plurality of priorities of intents are ordered as a flow intent and a command intent, and the intents in a second of the plurality of priority intents are ordered as an expected answer intent, a command intent, and a flow intent.
|