US 12,481,837 B2
Prompt configuration for LLM integrations in spreadsheet environments
Daniel Fabian, Wabern (CH); Alexander A. Babanov, Bothell, WA (US); Rasika Mudumbai Chakravarthy, Redmond, WA (US); Jakub Piotr Kotynia, Redmond, WA (US); and Jason Christopher Tan, Woodinville, WA (US)
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Apr. 25, 2023, as Appl. No. 18/306,497.
Claims priority of provisional application 63/489,403, filed on Mar. 9, 2023.
Prior Publication US 2024/0303440 A1, Sep. 12, 2024
Int. Cl. G06F 40/40 (2020.01); G06F 40/18 (2020.01); G06F 40/30 (2020.01)
CPC G06F 40/40 (2020.01) [G06F 40/18 (2020.01); G06F 40/30 (2020.01)] 20 Claims
OG exemplary drawing
 
1. 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:
receive, via a user interface of an application, a natural language input from a user associated with a spreadsheet;
identify a subset of data from the spreadsheet for a prompt to a large language model (LLM) service;
generate a mapping of cell addresses of the subset to different cell addresses of a second subset of the data to create the second subset;
generate the prompt based on the natural language input and the second subset, wherein the prompt constrains the LLM service to a domain specific to the spreadsheet;
submit the prompt to the LLM service;
receive a reply to the prompt from the LLM service; respond to the natural language input based on the reply from the LLM service receive, via the user interface, user input indicative of a selection of a spreadsheet formula suggested by the LLM service in the reply; and
recalculate the spreadsheet according to the spreadsheet formula.