IP Library › Granted Patent US 11,966,705
Granted Patent B2
US 11,966,705 · App. 17/097,174 · Granted Apr 23, 2024

Systems and methods for bot dialog delegation

Inventors: Allen Detmer (Boston, MA); Maria Lucena (Boston, MA)
Assignee: FMR LLC
G06F40/35G06N5/04H04L51/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,966,705
App. No.
17/097,174
Granted
Apr 23, 2024
Kind
B2
Abstract

Systems and methods for switching between natural language processing units during an interaction using a dialog delegation processor. The method includes receiving a dialog utterance from a user via a user device. The method further includes determining a general intent based on the dialog utterance using a general natural language processor. The method also includes determining at least one specific intent corresponding to the general intent using the general natural language processor. The method also includes selecting a specific natural language processor corresponding to the at least one specific intent. The method further includes determining a dialog response corresponding to the at least one of specific intent using the specific natural language processor. The method also includes generating for display the dialog response on the user device.

Claims (33)

1. A computerized method for switching between natural language processing units during an interaction using a dialog delegation processor, the method comprising:

receiving, by a server computing device, a plurality of intent definitions, wherein each intent definition is associated with a different one of a plurality of natural language processors connected to the server computing device and comprises a set of dialog responses to an intent associated with a user utterance;

receiving, by the server computing device, a dialog utterance from the user via a user device, the dialog utterance associated with a first dialog flow and a conversation state;

invoking, by the server computing device, each of the plurality of natural language processors using the dialog utterance until a first one of the natural language processors classifies the dialog utterance with a general intent of the user, including incrementing an incomprehension counter for each natural language processor that does not classify the dialog utterance with a general intent of the user and requesting a rephrased dialog utterance from the user when the incomprehension count exceeds a predetermined threshold;

comparing, by the server computing device, the general intent of the user with the plurality of intent definitions to identify a dialog response to the general intent, the identified dialog response comprising a delegation to a second dialog flow that references a second one of the plurality of natural language processors and wherein the second natural language processor is referenced in the delegation according to a first specific intent corresponding to the general intent of the user;

invoking, by the server computing device, the second natural language processor based upon the identified dialog response to execute the second dialog flow;

receiving, by the second natural language processor, the conversation state and the dialog utterance;

generating, by the second natural language processor, a dialog response to the dialog utterance;

updating, by the second natural language processor, the conversation state;

returning, by the second natural language processor, the dialog response and updated conversation state to the first natural language processor via the server computing device;

returning, by the first natural language processor, a response to the server computing device based upon the dialog response and updated conversation state received from the second natural language processor; and

displaying, by the server computing device, the dialog response received from the second natural language processor on the user device as part of the first dialog flow.

2. The computerized method of claim 1 , wherein the server computing device is further configured to determine a second specific intent corresponding to the general intent using the second natural language processor.

3. The computerized method of claim 2 , wherein the server computing device compares the second specific intent with the plurality of intent definitions to identify a sub-action responsive to the second specific intent, the identified sub-action comprising a delegation to a third dialog flow that references a third one of the plurality of natural language processors and wherein the third natural language processor is referenced in the delegation according to a third specific intent corresponding to the general intent of the user.

4. The computerized method of claim 3 , wherein the server computing device invokes the third natural language processor based upon the identified sub-action to execute the third dialog flow, wherein the third natural language processor receives the conversation state and the dialog utterance, generates a dialog response to the dialog utterance, updates the conversation state, and transmits the dialog response and updated conversation state to the second natural language processor via the server computing device.

5. The method of claim 1 , wherein the general intent of the user is associated with a domain context and the second natural language processor generates dialog responses containing content associated with the domain context.

6. A system for switching between natural language processing units during an interaction using a dialog delegation processor, the system comprising a server computing device communicatively coupled to a user device over a network and comprising a memory for storing computer-executable instructions and a processor that executes the computer executable instructions to:

receive a plurality of intent definitions, wherein each intent definition is associated with a different one of a plurality of natural language processors connected to the server computing device and comprises a set of dialog responses to an intent associated with a user utterance;

receive a dialog utterance from the user via the user device, the dialog utterance associated with a first dialog flow and a conversation state;

invoke each of the plurality of natural language processors using the dialog utterance until a first one of the natural language processors classifies the dialog utterance with a general intent of the user, including incrementing an incomprehension counter for each natural language processor that does not classify the dialog utterance with a general intent of the user and requesting a rephrased dialog utterance from the user when the incomprehension count exceeds a predetermined threshold;

compare the general intent of the user with the plurality of intent definitions to identify a dialog response to the general intent, the identified dialog response comprising a delegation to a second dialog flow that references a second one of the plurality of natural language processors and wherein the second natural language processor is referenced in the delegation according to a first specific intent corresponding to the general intent of the user;

invoke the second natural language processor based upon the identified dialog response to execute the second dialog flow,

wherein the second natural language processor:

receives the conversation state and the dialog utterance,

generates a dialog response to the dialog utterance,

updates the conversation state, and

returns the dialog response and updated conversation state to the first natural language processor via the server computing device;

wherein the first natural language processor returns a response to the server computing device based upon the dialog response and updated conversation state received from the second natural language processor; and

the server computing device displays the dialog response received from the second natural language processor on the user device as part of the first dialog flow.

7. The system of claim 6 , wherein the server computing device further determines a second specific intent corresponding to the general intent using the second natural language processor.

8. The system of claim 7 , wherein the server computing device compares the second specific intent with the plurality of intent definitions to identify a sub-action responsive to the second specific intent, the identified sub-action comprising a delegation to a third dialog flow that references a third one of the plurality of natural language processors and wherein the third natural language processor is referenced in the delegation according to a third specific intent corresponding to the general intent of the user.

9. The system of claim 8 , wherein the server computing device invokes the third natural language processor based upon the identified sub-action to execute the third dialog flow, wherein the third natural language processor receives the conversation state and the dialog utterance, generates a dialog response to the dialog utterance, updates the conversation state, and transmits the dialog response and updated conversation state to the second natural language processor via the server computing device.

10. The system of claim 6 , wherein the general intent of the user is associated with a domain context and the second natural language processor generates dialog responses containing content associated with the domain context.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 8, 2021
From: DETMER, ALLEN; LUCENA, MARIA
To: FMR LLC
Reel/Frame 058334/0163 →
Continuity (2)
Provisional Application 62934897 · Nov 13, 2019
Related Publication 20210142009A1 · May 13, 2021
Cited By (2)
US 12,321,709 US 12,340,181