CPC G06F 16/24578 (2019.01) [G06F 16/2246 (2019.01)] | 19 Claims |
1. A method for providing responses to structured queries about an entity, the method comprising:
receiving, from a user system at a network system, a request to generate responses to structured queries about an entity;
generating, automatically using the network system, a set of keywords configured to identify relevant information to generate responses to the structured queries by applying a language model to the request, the language model configured to identify semantically relevant keywords based on the entity and the structured queries;
extracting, using the network system, relevant data from a source datastore of the entity by applying a similarity model to the source datastore, the source datastore organized in a hierarchical structure comprising a plurality of information nodes in a plurality of layers, and the similarity model, when applied to the source datastore, configured to:
beginning at a top-most information node of the hierarchical structure, where the top-most information node is identified as a relevant information node:
for each information node of the plurality determined a relevant information node:
identify a set of information nodes at a next lower layer of the hierarchical structure, each information node in the set represented by a label on an information node on a current layer of the hierarchical structure,
determine, for each information node in the set of information nodes on the next lower layer of the hierarchical structure, a relevancy score for the information node, the relevancy score quantifying similarities between the label on the current layer for the information node on the next lower layer and the set of keywords,
for each information node having a relevancy score above a threshold, determine the information node is a relevant information node and store data at the information node in an entity datastore as relevant data, and
for each information node having a relevancy score below the threshold, determine the information node is a non-relevant information node; and
for each information node of the plurality determined a non-relevant information node, not determining whether a set of information nodes at a next lower layer of the hierarchical structure are relevant information nodes; and
determining, using the network system, responses to the structured queries by applying a large language model to the relevant data extracted from relevant information nodes stored in the entity datastore, the large language model configured to:
generate, based on the structured queries, embeddings configured to determine responses to the structured queries from the relevant data, and
determine, using the generated embeddings, responses to the structured queries from the relevant data.
|