PROVIDING DATA FROM A DIRECTED GRAPH TO A LANGUAGE MODEL

    公开(公告)号:US20240411787A1

    公开(公告)日:2024-12-12

    申请号:US18632864

    申请日:2024-04-11

    Applicant: SAP SE

    Abstract: A method, a system and a computer program for providing data from a directed graph to a language model are provided. The method comprises defining a plurality of conditions and a plurality of patterns, wherein each of the conditions has at least one corresponding pattern. The method further comprises receiving a subset of the directed graph, wherein the subset of the directed graph includes a plurality of statements, wherein each of the statements includes a subject, an object and a predicate relating the subject to the object. The method further comprises for each of the statements in the subset of the directed graph, performing the following: when one of the conditions matches a respective statement and the pattern corresponding to the condition can be applied to the respective statement, computing a string from the respective statement using the pattern.

Patent Agency Ranking