Invention Application
- Patent Title: PROVIDING DATA FROM A DIRECTED GRAPH TO A LANGUAGE MODEL
-
Application No.: US18632864Application Date: 2024-04-11
-
Publication No.: US20240411787A1Publication Date: 2024-12-12
- Inventor: Jan PORTISCH , Guilherme COSTA , Michael HLADIK
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Priority: EP23177538.8 20230606
- Main IPC: G06F16/332
- IPC: G06F16/332 ; G06F16/21 ; G06F16/36

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.
Information query