US 12,346,356 B2
Graph and vector usage for automated QA system
Ming Jin Chen, Ningbo (CN); Yuan Li, Ningbo (CN); Tong Liu, Xi'an (CN); Yuan Yuan Li, Beijing (CN); and Yuan Zhang, Ningbo (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Nov. 2, 2023, as Appl. No. 18/500,761.
Prior Publication US 2025/0147993 A1, May 8, 2025
Int. Cl. G06F 16/00 (2019.01); G06F 16/334 (2025.01); G06F 16/901 (2019.01)
CPC G06F 16/3344 (2019.01) [G06F 16/9024 (2019.01)] 17 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
receiving a query input from a user;
decomposing the query input into a plurality of tasks;
querying a knowledge graph to identify one or more relevant entities based on at least one of the plurality of tasks, wherein each of the one or more entities comprises text information related to a respective portion of a document;
searching a vector database to identify one or more text chunks, wherein each of the one or more text chunks comprises contextual information in natural language for a respective identified relevant entity and is linked to the respective identified relevant entity in the knowledge graph using a chunk identifier;
identifying content relevant to at least one of the plurality of tasks by parsing the contextual information in natural language within the one or more text chunks; and
generating an answer for the query based on the identified content.