US patent US12743588
Natural language generation using knowledge graph incorporating textual summaries
Abstract
Techniques relate to receiving a natural-language textual sequence representing the textual input; retrieving, from a knowledge graph associated with the domain: a first textual passage based on a first ranking regarding the natural-language textual sequence, a first textual summary associated with the first textual passage, a second textual passage based on a first ranking with respect to a comparison of the second textual passage and the natural-language textual sequence a second textual summary associated with the second textual passage, and a third textual summary based on a second ranking regarding the natural-language textual sequence; obtaining the textual output in response to the textual input from a language model by providing input to the language model using the natural-language textual sequence, the first textual passage, the first textual summary, the second textual passage, the second textual summary, and the third textual summary; and providing an output based on the textual output.