US 12,105,704 B2
Machine learning-implemented chat bot database query system for multi-format database queries
Jayaprakash Vijayan, Dublin, CA (US); Ved Surtani, Bengaluru (IN); Nitika Gupta, Bengaluru (IN); Malarvizhi Saravanan, Bengaluru (IN); Anirudh Saria, Kathmandu (NP); and Amrutha Dharmaraj, Karnataka (IN)
Assigned to Tekion Corp, Pleasanton, CA (US)
Filed by Tekion Corp, Pleasanton, CA (US)
Filed on Oct. 22, 2021, as Appl. No. 17/508,442.
Prior Publication US 2023/0128497 A1, Apr. 27, 2023
Int. Cl. G06F 16/2452 (2019.01); G06F 16/215 (2019.01); G06F 16/23 (2019.01); G06F 16/248 (2019.01); G06F 16/28 (2019.01); G06F 16/9535 (2019.01); G06N 20/00 (2019.01)
CPC G06F 16/24522 (2019.01) [G06F 16/215 (2019.01); G06F 16/2365 (2019.01); G06F 16/248 (2019.01); G06F 16/285 (2019.01); G06F 16/9535 (2019.01); G06N 20/00 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving, through a user interface, a first query from a user associated with a vehicle dealership;
applying the first query to a first trained supervised machine learning model configured to predict an intent of the first query, the first trained supervised machine learning model trained using training samples that show one or more inputs as labeled by a corresponding intent, the training samples each labeled using an intent label of at least three candidate intent labels, the predicted intent predicted to correspond to a given label of the at least three candidate intent labels, each of the at least three candidate labels corresponding to different respective databases of the vehicle dealership storing different data from one another;
applying the first query to a second trained supervised machine learning model configured to predict a set of entities of the first query, at least a portion of the set of entities comprising one or more words of the first query, the second trained supervised machine learning model trained using historical user input paired with one or more labels indicating one or more entities;
generating a normalized representation of the first query that includes both the predicted intent and the predicted set of entities, wherein a format of the normalized representation of the first query is database language agnostic, and wherein generating the normalized representation comprises filtering out a subset of metadata from an interim representation of the first query that precedes the normalized representation of the first query, the filtering out based on an importance value for each metadata of the subset being below a threshold level of importance;
translating the normalized representation of the first query into a second query having a format compatible with a language of a database of the vehicle dealership, the database selected from the different respective databases based on the predicted intent;
fetching data from the database of the vehicle dealership associated with the predicted intent and the predicted set of entities using the second query;
providing, on the user interface, the data for display to the user;
receiving feedback from the user by way of the user interface that reflects an error in the data; and
re-training the first trained supervised machine learning model based on the feedback, thereby resulting in a different intent label being predicted responsive to again receiving the first query.