US 12,443,632 B2
Method and system for displaying a response to a natural language query
Sachin Kumar, Bangalore (IN)
Assigned to JPMORGAN CHASE BANK, N.A., New York, NY (US)
Filed by JPMorgan Chase Bank, N.A., New York, NY (US)
Filed on Apr. 28, 2023, as Appl. No. 18/140,873.
Claims priority of application No. 202311004707 (IN), filed on Jan. 24, 2023.
Prior Publication US 2024/0248919 A1, Jul. 25, 2024
Int. Cl. G06F 16/00 (2019.01); G06F 16/3329 (2025.01); G06F 16/334 (2025.01); G06F 16/338 (2019.01)
CPC G06F 16/3329 (2019.01) [G06F 16/3344 (2019.01); G06F 16/338 (2019.01)] 18 Claims
OG exemplary drawing
 
1. A method for displaying a response to at least one natural language query, the method being implemented by at least one processor, the method comprising:
receiving, by the at least one processor via a communication interface, at least one first natural language query from a user;
identifying, by the at least one processor via a query analyzer, an intent of the user regarding intended search results of the at least one first natural language query, wherein the query analyzer uses an artificial-intelligence-based model and a machine-learning-based, natural-language processing model that is trained on past queries for identifying intents and entities of past natural language queries;
identifying, by the at least one processor via the query analyzer, an entity associated with the at least one first natural language query, wherein the entity includes at least one keyword associated with a context of the at least one first natural language query;
automatically correcting, by the at least one processor using the artificial-intelligence-based model and the machine-learning-based, natural-language processing model, the at least one first natural language query to generate at least one second natural language query;
classifying, by the at least one processor, the entity into predetermined categories based on data stored in at least one database;
transmitting, by the at least one processor, the identified intent and entities associated with the at least one natural language query to a query composer;
automatically generating, by the at least one processor via the query composer, a database-specific query, based on the intent, the entities, and the at least one second natural language query;
transmitting, by the at least one processor, the database-specific query to an executive module;
automatically executing, by the at least one processor via the executive module, the database-specific query, wherein the executive module connects to the at least one database and runs the database-specific query in the at least one database to generate a plurality of results;
ranking, by the at least one processor and based on the identified intent, the plurality of results;
retrieving, by the at least one processor and based on the ranking of the plurality of results, a response to the database-specific query from the at least one database;
converting, by the at least one processor, the response to the database-specific query into a natural language response; and
displaying, by the at least one processor via a display, the natural language response.