Natural language query processing using large language model-based asset analysis
AssigneeInternational Business Machines Corporation
InventorsJoshua Abraham, Kun Lu, Yuhan Shao, Zhibo Zhang, Hosam Aly
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsJoshua Abraham, Kun Lu, Yuhan Shao, Zhibo Zhang, Hosam Aly
Estimating the term…
A present invention embodiment processes user queries. Using a large language model (LLM), a first Structured Query Language (SQL) statement is generated based on a user query provided by a user. A plurality of entities are extracted, based on the first SQL statement, including columns, filter columns, and categorical filters. A semantic search is performed on an index of a plurality of databases using the extracted entities to determine a confidence score for each database of the plurality of databases. A database is selected based on the confidence score and a schema of the selected database is extracted. A second SQL statement is generated by the LLM based on the user query and the schema. The second SQL statement is executed on the selected database to generate query results that are presented to the user.
A computer-implemented method comprising:
A computer system comprising:
A computer program product, the computer program product comprising one or more computer readable storage media having program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by at least one processor to cause the at least one processor to:
Dependencies are inferred from the claim text.