Methods and systems for parsing a mix of features and instructions into a prompt
AssigneeShopify Inc.
InventorDavid Goligorsky
Life of this patent
Estimating the term…
Abstract
A computer system and computer-implemented method, the method including receiving text input, the text input including feature inputs and prompt instructions; analyzing the text input to identify the feature inputs and the prompt instructions; and generating a prompt to be provided to a Large Language Model (LLM) based on a prompt template, the feature inputs, and the prompt instructions.
Claims20
A computer-implemented method comprising:
- providing a user interface for receiving text input, the user interface providing for delineation between feature inputs describing content for a Large Language Model (LLM) output and prompt instructions describing a style for the LLM output;
- receiving the text input including the feature inputs and the prompt instructions, the prompt instructions being delineated from the feature inputs by one or more tags;
- parsing the text input to identify the prompt instructions based on the one or more tags;
- and
- generating the prompt to be provided to an LLM based on the feature inputs and the prompt instructions.
A computer system comprising:
- one or more processors;;
- and
- a computer readable medium storing instructions that when executed by at least one of the one or more processors, cause the computer system to:
- provide for receiving text input at a user interface by providing for delineation between feature inputs describing content for a Large Language Model (LLM) output and prompt instructions describing a style for the LLM output;
- receive the text input, the text input including the feature inputs and the prompt instructions, the prompt instructions being delineated from the feature inputs by one or more tags;
- parse the text input to identify the prompt instructions based on the one or more tags;
- and
- generate the prompt to be provided to an LLM based on the feature inputs and the prompt instructions.
A non-transitory computer readable storage medium storing instructions that, when executed by at least one processor of a computer system, cause the computer system to:
- provide a user interface for receiving text input at the user interface by providing for delineation between feature inputs describing content for a Large Language Model (LLM) output and prompt instructions describing a style for the LLM output;
- receive the text input, the text input including the feature inputs and the prompt instructions, the prompt instructions being delineated from the feature inputs by one or more tags;
- parse the text input to identify the prompt instructions based on the one or more tags;
- and
- generate the prompt to be provided to an LLM based on the feature inputs and the prompt instructions.
Dependencies are inferred from the claim text.