18367778. TEXT-GENERATED INSTRUCTION OBJECTS USING LARGE LANGUAGE MODEL (SAP SE)
TEXT-GENERATED INSTRUCTION OBJECTS USING LARGE LANGUAGE MODEL
Organization Name
Inventor(s)
David Kunz of Wilhelmsfeld (DE)
TEXT-GENERATED INSTRUCTION OBJECTS USING LARGE LANGUAGE MODEL
This abstract first appeared for US patent application 18367778 titled 'TEXT-GENERATED INSTRUCTION OBJECTS USING LARGE LANGUAGE MODEL
Original Abstract Submitted
In an example embodiment, a solution is provided that automatically adds a system message to natural language text provided by a user to generate a prompt to a Large Language Model (LLM) to automatically generate a code in a declarative language format, the code corresponding to the natural language text. Furthermore, retrieval augmented generation may be utilized to overcome the maximum number of contextual tokens permitted as input to an LLM. More particularly, the system message may be designed to include an instruction to the LLM to generate search calls for one or more entity definitions in a specified format from a database. The search calls may then be performed on the database via a similarity search to obtain the relevant information, which can then be passed back into the LLM for the generation of the code.