IP Library › Granted Patent US 11,657,810
Granted Patent B2
US 11,657,810 · App. 16/939,520 · Granted May 23, 2023

Query routing for bot-based query response

Inventors: Steven Ware Jones (Queens, NY); Jacob Lewis (New York City, NY); Shuai Wang (Sunnyvale, CA); Jennifer A. Mallette (Vienna, VA); Ruchi Asthana (New York, NY); Jia Liu (Astria, NY); Vivek Salve (Poughkeepsie, NY)
Assignee: International Business Machines Corporation
G10L15/22G06F16/951G06F16/9532G06F16/9538G10L15/08G10L15/30G10L2015/221G10L2015/227
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,657,810
App. No.
16/939,520
Granted
May 23, 2023
Kind
B2
Abstract

A method, system, and computer program product for routing queries to answer resources based on component parts and intents of a received query is provided. The method receives a query from a user. The query is analyzed to identify a set of entities associated with the query and generate an utterance representing the query. The method generates an intent classification for the utterance and a vector for the query. The vector is generated based on the set of entities, the utterance, and the intent classification. The method determines an answer resource for the query based on the vector and the intent classification of the query. In response to determining the answer resource, the method provides an answer interface based on the query, the vector, and the intent classification. The answer interface dynamically provides a response to the query.

Claims (65)

1. A computer-implemented method, comprising:

receiving a query from a user;

analyzing the query to identify a set of entities associated with the query and generate an utterance representing the query;

identifying a set of values associated with a subset of entities of the set of entities, in response to identifying the set of values;

identifying query entities from the subset of entities;

passing the utterance to a plurality of intent classifiers;

generating an intent classification for the utterance based on the plurality of intent classifiers and a comparison of the set of entities with entities associated with the plurality of intent classifiers,

each intent classifier comparing the query entities of the utterance with one or more entities associated with the intent classifier, and

each intent classifier generating a confidence score for the utterance based on comparing the query entities with the one or more entities associated with the intent classifier;

generating a vector for the query based on the set of entities, the utterance, and the intent classification;

determining an answer resource for the query based on the vector and the intent classification of the query; and

in response to determining the answer resource, providing an answer interface based on the query, the vector, and the intent classification such that the answer interface dynamically provides a response to the query.

2. The computer-implemented method of claim 1 , wherein the utterance is normalized to replace the set of values with an entity name of the query entities, and generating the intent classification further comprises:

determining a topic for the utterance based on one or more of the utterance and the query entities; and

determining one or more answer resources associated with the topic.

3. The computer-implemented method of claim 1 , wherein the vector is a tuple containing a class label and a confidence value for a class represented by the class label.

4. The computer-implemented method of claim 1 , further comprising:

in response to receiving the query, identifying a resource address associated with content being presented to the user when the query was received; and

wherein the answer resource for the query is determined based on the vector, the intent classification of the query, and the resource address.

5. The computer-implemented method of claim 4 , wherein the resource address is a first resource address, and wherein providing the answer interface further comprises:

redirecting a browser of the user to a second resource address; and

providing the answer interface at the second resource address.

6. A system, comprising:

one or more processors; and

a computer-readable storage medium, coupled to the one or more processors, storing program instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:

receiving a query from a user;

analyzing the query to identify a set of entities associated with the query and generate an utterance representing the query;

identifying a set of values associated with a subset of entities of the set of entities, in response to identifying the set of values;

identifying query entities from the subset of entities;

passing the utterance to a plurality of intent classifiers;

generating an intent classification for the utterance based on the plurality of intent classifiers and a comparison of the set of entities with entities associated with the plurality of intent classifiers,

each intent classifier comparing the query entities of the utterance with one or more entities associated with the intent classifier, and each intent classifier generating a confidence score for the utterance based on comparing the query entities with the one or more entities associated with the intent classifier;

generating a vector for the query based on the set of entities, the utterance, and the intent classification;

determining an answer resource for the query based on the vector and the intent classification of the query; and

in response to determining the answer resource, providing an answer interface based on the query, the vector, and the intent classification, the answer interface dynamically providing a response to the query.

7. The system of claim 6 , wherein the utterance is normalized to replace the set of values with an entity name of the query entities, and generating the intent classification further comprises:

determining a topic for the utterance based on one or more of the utterance and the query entities; and

determining one or more answer resources associated with the topic.

8. The system of claim 6 , wherein the vector is a tuple containing a class label and a confidence value for a class represented by the class label.

9. The system of claim 6 , wherein the operations further comprise:

in response to receiving the query, identifying a resource address associated with content being presented to the user when the query was received; and

wherein the answer resource for the query is determined based on the vector, the intent classification of the query, and the resource address.

10. The system of claim 9 , wherein the resource address is a first resource address, and wherein providing the answer interface further comprises:

redirecting a browser of the user to a second resource address; and

providing the answer interface at the second resource address.

11. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions being executable by one or more processors to cause the one or more processors to perform operations comprising:

receiving a query from a user;

analyzing the query to identify a set of entities associated with the query and generate an utterance representing the query;

identifying a set of values associated with a subset of entities of the set of entities, in response to identifying the set of values;

identifying query entities from the subset of entities;

passing the utterance to a plurality of intent classifiers;

generating an intent classification for the utterance based on the plurality of intent classifiers and a comparison of the set of entities with entities associated with the plurality of intent classifiers,

each intent classifier comparing the query entities of the utterance with one or more entities associated with the intent classifier, and each intent classifier generating a confidence score for the utterance based on comparing the query entities with the one or more entities associated with the intent classifier;

generating a vector for the query based on the set of entities, the utterance, and the intent classification;

determining an answer resource for the query based on the vector and the intent classification of the query; and

in response to determining the answer resource, providing an answer interface based on the query, the vector, and the intent classification, the answer interface dynamically providing a response to the query.

12. The computer program product of claim 11 , wherein the utterance is normalized to replace the set of values with an entity name of the query entities, and generating the intent classification further comprises:

determining a topic for the utterance based on one or more of the utterance and the query entities; and

determining one or more answer resources associated with the topic.

13. The computer program product of claim 11 , wherein the operations further comprise:

in response to receiving the query, identifying a resource address associated with content being presented to the user when the query was received; and

wherein the answer resource for the query is determined based on the vector, the intent classification of the query, and the resource address.

14. The computer program product of claim 13 , wherein the resource address is a first resource address, and wherein providing the answer interface further comprises:

redirecting a browser of the user to a second resource address; and

providing the answer interface at the second resource address.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 27, 2020
From: JONES, STEVEN WARE; LEWIS, JACOB; WANG, SHUAI; MALLETTE, JENNIFER A.; ASTHANA, RUCHI; LIU, JIA; SALVE, VIVEK
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 053317/0760 →
Continuity (1)
Related Publication 20220028378A1 · Jan 27, 2022
Cited By (1)
US 12,664,981