# US 2025/0165697 A1 · Guided prompt creation via foundation model integrations in application environments

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165697 A1
- Document ID: US20250165697A1
- Status: Published application
- Kind: A1
- Application number: 18/515,645
- Filed: 2023-11-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Sarah Ragab Ismail SALEH; Kunal Prakash MISHRA; Daniel Alberto CASTELLON; Ian William MIKUTEL; Erez KIKIN GIL
- Web page: https://patentgrep.com/patent/US20250165697A1

## CPC

- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and software are disclosed herein for guided prompt creation via foundation model integrations in application environments. In an implementation, a computing device displays a user interface of an application. Within the user interface, the computing device displays modifier key components for modifying a prompt to be submitted to a foundation model. The selection of any one of the modifier key components adds a corresponding modifier key to the prompt. The computing device obtains modifier values from the foundation model based on the prompt. The computing device also displays modifier value components in the user interface; the selection of a modifier value component adds a corresponding modifier value to the prompt. The computing device submits the prompt to the foundation model and displays a reply from the foundation model in the user interface.

## Claims

### Claim 1

A method for generating prompts on a computing device, the method comprising:
on the computing device:
displaying, in a user interface to an application, modifier key components for modifying a prompt to be submitted to a foundation model, wherein a selection of any one of the modifier key components adds a corresponding modifier key to the prompt;
obtaining modifier values from the foundation model based on the prompt;
displaying, in the user interface, modifier value components for adding the modifier values to the prompt, wherein a selection of any one of the modifier values adds a corresponding one of the modifier values to the prompt;
submitting the prompt to the foundation model; and
displaying a reply from the foundation model in the user interface.

### Claim 2 (depends on 1)

The method of claim 1, wherein each modifier key corresponding to each of the modifier key components differs relative to each other modifier key corresponding to each other of the modifier key components.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
in response to a selection of a first modifier key component of the modifier key components, adding a first modifier key to the prompt; and
in response to a selection of a first modifier value component of the modifier value components, adding a first modifier value to the prompt.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
in response to a selection of a second modifier key component of the modifier key components, adding a second modifier key to the prompt; and
in response to a selection of a second modifier value component of the modifier value components, adding a second modifier value to the prompt.

### Claim 5 (depends on 4)

The method of claim 4, wherein the prompt as-submitted to the foundation model includes the first modifier key, the first modifier value, the second modifier key, and the second modifier value.

### Claim 6 (depends on 5)

The method of claim 5, wherein when the first modifier key component is selected, the first modifier key is prepended to the prompt, wherein when the first modifier value component is selected, the first modifier value is appended to the prompt, wherein when the second modifier key component is selected, the second modifier key is appended to the prompt, and wherein when the second modifier value component selected, the second modifier value is appended to the prompt.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, in the user interface, user input comprising a custom modifier value; and
adding the custom modifier value to the prompt.

### Claim 8 (depends on 1)

The method of claim 1, wherein each of the modifier key components comprises a graphical button which when selected causes a corresponding modifier key to be added to the prompt and wherein each of the modifier value components comprises a selectable text element which when selected causes a corresponding one of the modifier values to be added to the prompt.

### Claim 9

A computing apparatus comprising:
one or more computer readable storage media;
one or more processors operatively coupled with the one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media that, when executed by the one or more processors, direct the computing apparatus to at least:
display, in a user interface to an application, modifier key components for modifying a prompt to be submitted to a foundation model, wherein a selection of any one of the modifier key components adds a corresponding modifier key to the prompt;
obtain modifier values from the foundation model based on the prompt;
display, in the user interface, modifier value components for adding the modifier values to the prompt, wherein a selection of any one of the modifier values adds a corresponding one of the modifier values to the prompt;
submit the prompt to the foundation model; and
display a reply from the foundation model in the user interface.

### Claim 10 (depends on 9)

The computing apparatus of claim 9, wherein each modifier key corresponding to each of the modifier key components differs relative to each other modifier key corresponding to each other of the modifier key components.

### Claim 11 (depends on 10)

The computing apparatus of claim 10, wherein the program instructions further direct the computing apparatus to:
in response to a selection of a first modifier key component of the modifier key components, add a first modifier key to the prompt; and
in response to a selection of a first modifier value component of the modifier value components, add a first modifier value to the prompt.

### Claim 12 (depends on 11)

The computing apparatus of claim 11, wherein the program instructions further direct the computing apparatus to:
in response to a selection of a second modifier key component of the modifier key components, add a second modifier key to the prompt; and
in response to a selection of a second modifier value component of the modifier value components, add a second modifier value to the prompt.

### Claim 13 (depends on 12)

The computing apparatus of claim 12, wherein the prompt as-submitted to the foundation model includes the first modifier key, the first modifier value, the second modifier key, and the second modifier value.

### Claim 14 (depends on 13)

The computing apparatus of claim 13, wherein when the first modifier key component is selected, the first modifier key is prepended to the prompt, wherein when the first modifier value component is selected, the first modifier value is appended to the prompt, wherein when the second modifier key component is selected, the second modifier key is appended to the prompt, and wherein when the second modifier value component selected, the second modifier value is appended to the prompt.

### Claim 15 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the computing apparatus to:
receive, in the user interface, user input comprising a custom modifier value; and
add the custom modifier value to the prompt.

### Claim 16 (depends on 9)

The computing apparatus of claim 9, wherein each of the modifier key components comprises a graphical button which when selected causes a corresponding modifier key to be added to the prompt and wherein each of the modifier value components comprises a selectable text element which when selected causes a corresponding one of the modifier values to be added to the prompt.

### Claim 17

One or more computer-readable storage media having program instructions stored thereon that, when executed by one or more processors of a computing device, direct the computing device to at least:
display, in a user interface to an application, modifier key components for modifying a prompt to be submitted to a foundation model, wherein a selection of any one of the modifier key components adds a corresponding modifier key to the prompt;
obtain modifier values from the foundation model based on the prompt;
display, in the user interface, modifier value components for adding the modifier values to the prompt, wherein a selection of any one of the modifier values adds a corresponding one of the modifier values to the prompt;
submit the prompt to the foundation model; and
display a reply from the foundation model in the user interface.

### Claim 18 (depends on 17)

The one or more computer readable storage media of claim 17, wherein the program instructions further direct the computing device to at least:
in response to a selection of a first modifier key component of the modifier key components, add a first modifier key to the prompt; and
in response to a selection of a first modifier value component of the modifier value components, add a first modifier value to the prompt.

### Claim 19 (depends on 18)

The one or more computer readable storage media of claim 18, wherein the program instructions further direct the computing device to:
in response to a selection of a second modifier key component of the modifier key components, add a second modifier key to the prompt; and
in response to a selection of a second modifier value component of the modifier value components, add a second modifier value to the prompt.

### Claim 20 (depends on 19)

The one or more computer readable storage media of claim 19, wherein the prompt as-submitted to the foundation model includes the first modifier key, the first modifier value, the second modifier key, and the second modifier value.
