Systems and methods for dynamic large language model prompt generation
AssigneeShopify Inc.
InventorUtkarsh Saxena
Life of this patent
Estimating the term…
Abstract
A website development system automatically generates text for a webpage. The system obtains a prompt template associated with a section of the webpage, where the prompt template includes one or more parameters. Based on the webpage, the prompt template determines a first value for a first one of the one or more parameters. A request to provide input for a second value of a second parameter is sent for display to a user. Using the prompt template, the first value, and the second value, the system generates a prompt to a large language model to generate text for the section of the webpage.
Claims20
A computer-implemented method comprising:
- obtaining a prompt template associated with a section of a webpage, the prompt template including one or more parameters;
- determining, based on the webpage, a first value for a first one of the one or more parameters;
- sending for display to a user, a request to provide input for a second value corresponding to a second one of the one or more parameters;
- and
- generating, using the prompt template and the first value and the second value, a prompt to a large language model to generate text for the section of the webpage.
A non-transitory computer readable storage medium storing executable instructions, execution of which by a processor causing the processor to:
- obtain a prompt template associated with a section of a webpage, the prompt template including one or more parameters;
- determine, based on the webpage, a first value for a first one of the one or more parameters;
- send for display to a user, a request to provide input for a second value corresponding to a second one of the one or more parameters;
- and
- generate, using the prompt template and the first value and the second value, a prompt to a large language model to generate text for the section of the webpage.
A system comprising:
- at least one hardware processor;
- and
- at least one non-transitory memory storing instructions, which, when executed by the at least one hardware processor, cause the system to:
- obtain a prompt template associated with a section of a webpage, the prompt template including one or more parameters;
- determine, based on the webpage, a first value for a first one of the one or more parameters;
- send for display to a user, a request to provide input for a second value corresponding to a second one of the one or more parameters;
- and
- generate, using the prompt template and the first value and the second value, a prompt to a large language model to generate text for the section of the webpage.
Dependencies are inferred from the claim text.