Prompt engineering engine
AssigneeSap SE
InventorChristian MATHIS
Life of this patent
Estimating the term…
Abstract
A system and method including receiving a prompt specifying at least one task type; determining a system prompt based on the received prompt, the system prompt including artificial intelligence (AI) system configuration details corresponding to the at least one task type; pre-processing the system prompt to generate a pre-processed prompt including code referenced in the system prompt; transmitting, as an input prompt, the pre-processed prompt to an AI system; receiving, in response to the AI system executing the pre-processed prompt, a result from the AI system; and storing a record of the result from the AI system in a data repository.
Claims20
A system comprising:
- an inbound prompt engine application programming interface (API) to receive a prompt, the prompt specifying at least one task type;
- a prompt selector to determine a system prompt based on the received prompt, the system prompt including artificial intelligence (AI) system configuration details corresponding to the at least one task type and including a combination of a description and at least one label;
- a pre-processor to pre-process the system prompt to generate a pre-processed prompt, the pre-processed prompt including code referenced in the system prompt;
- an outbound large language model API to transmit, as an input prompt, the pre-processed prompt to an AI system and to receive, in response to the AI system executing the pre-processed prompt, a result from the AI system;
- and
- a data repository to store a record of the result from the AI system.
A computer-implemented method, the method comprising:
- receiving a prompt, the prompt specifying at least one task type;
- determining a system prompt based on the received prompt, the system prompt including artificial intelligence (AI) system configuration details corresponding to the at least one task type and including a combination of a description and at least one label;
- pre-processing the system prompt to generate a pre-processed prompt, the pre-processed prompt including code referenced in the system prompt;
- transmitting, as an input prompt, the pre-processed prompt to an AI system;
- receiving, in response to the AI system executing the pre-processed prompt, a result from the AI system;
- and
- storing a record of the result from the AI system in a data repository.
A non-transitory, computer readable medium storing instructions, which when executed by at least one processor cause a computer to perform a method comprising:
- receiving a prompt, the prompt specifying at least one task type;
- determining a system prompt based on the received prompt, the system prompt including artificial intelligence (AI) system configuration details corresponding to the at least one task type and including a combination of a description and at least one label;
- pre-processing the system prompt to generate a pre-processed prompt, the pre-processed prompt including code referenced in the system prompt;
- transmitting, as an input prompt, the pre-processed prompt to an AI system;
- receiving, in response to the AI system executing the pre-processed prompt, a result from the AI system;
- and
- storing a record of the result from the AI system in a data repository.
Dependencies are inferred from the claim text.