hottub.patents
US 12,499,306 B2#3368420 Most CitedActiveUnited States (USPTO)Utility

Prompt chaining for LLM integrations in spreadsheet environments

0Forward Citations (#3368420 Global)
0.0/yrCitation Velocity (#3368420 Global)
0.00Citation PageRank (#3368420 Global)
2Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Technology is disclosed herein for an application service which interfaces with an LLM service. In an implementation, the application service receives a natural language input from a user associated with a spreadsheet. The application service generates multiple prompts based on the natural language input and a portion of the spreadsheet and determines an order in which to input the prompts to an LLM service. The application service determines an order in which to input the prompts to an LLM service, then inputs the prompts to the LLM service according to the determined order.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    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 an application comprising 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 the application, a natural language input associated with a user with of a spreadsheet; generate and submit multiple prompts to a large language model (LLM) service, wherein an initial prompt of the multiple prompts comprises the natural language input and a portion of the spreadsheet, wherein the initial prompt tasks the LLM service with generating a suggested formula responsive to the natural language input and returning a first output comprising the suggested formula in a parse-able format, and wherein a second prompt of the multiple prompts tasks the LLM service with generatin

  2. Claim 2Depends on #1

    The computing apparatus of claim 1, wherein the parse-able format comprises one or more of: semantic tags and JavaScript Object Notation.

  3. Claim 3Depends on #2

    The computing apparatus of claim 2, wherein the second prompt is sent to the LLM service after the initial prompt.

  4. Claim 4Depends on #3

    The computing apparatus of claim 3, wherein a third prompt of the multiple prompts is sent after the second prompt, and wherein the third prompt comprises a request for the LLM service to output an explanation of the formula.

  5. Claim 5Depends on #1

    The computing apparatus of claim 1, wherein the program instructions further direct the computing apparatus to display replies by the LLM service in a progressive series of conversational dialogs in response to input by the user to proceed through the replies on a per-reply basis.

  6. Claim 6Depends on #5

    The computing apparatus of claim 5, wherein the program instructions direct the computing apparatus to input the multiple prompts to the LLM service prior to receiving any of the replies from the LLM service.

  7. Claim 7Depends on #1

    The computing apparatus of claim 1, wherein to input the multiple prompts to the LLM service, the program instructions direct the computing apparatus to input each prompt of the multiple prompts in-series to the LLM service.

  8. Claim 8Depends on #7

    The computing apparatus of claim 7, wherein to input the multiple prompts to the LLM service, the program instructions direct the computing apparatus to wait for a reply to a current one of the multiple prompts before inputting a next one of the multiple prompts.

Technical Overview & Description

RELATED APPLICATIONS This application is related to and claims the benefit of priority to U.S. Provisional Patent Application No. 63/489,683, entitled PROMPT CHAINING FOR LLM INTEGRATIONS IN SPREADSHEET ENVIRONMENTS, and filed on Mar. 10, 2023, the contents of which are hereby incorporated by reference in their entirety. TECHNICAL FIELD Aspects of the disclosure are related to the field of productivity applications and large language models and, in particular, to integrations there between. BACKGROUND Spreadsheet applications, such as Microsoft Excel ® , are widely used for data analysis, data organization and management, and computational tasks involving quantitative as well as qualitative data. Given the broad range of functions and capabilities available in spreadsheet applications, special-purpose artificial intelligence (AI) models have been developed to aid users in figuring out how to accomplish particular tasks. These AI models, such Microsoft Excel's Insights engine, are trained on a vast quantity of spreadsheet data which enables them to identify patterns and generate insights into datasets. However, because the scope of the training is based entirely on spreadsheet data, this constrains the utility of these models to the domain of spreadsheet data and spreadsheet functionalities. In more recent advances in AI technology, large language models (LLMs), which are a general-purpose type of AI model, have been developed which are capable of natural language communication. Transformer models are a type of AI model used in natural language processing that are designed to process sequences of words, such as sentences or paragraphs. LLMs such as Generative Pretrained Transformer (GPT) models and Bidirectional Encoder Representations from Transformer (BERT) models have been pretrained on an immense amount of data across virtually every domain of the arts and sciences and have demonstrated the capability of generating responses which are novel, open-ended, and unpre

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (2)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Kojima et al.
  • “
  • Large Language Models are Zero-Shot Reasoners
  • ”
  • . 36th Conference on Neural Information Processing Systems (NeurIPS 2022 (Year: 2022).
  • Wachtel et al.
  • “
  • Initial implementation of natural language turn-based dialog system
  • ”
  • . 7th International Conference in Intelligent Human Computer Interaction, IHCI 2015, Procedia Computer Science 84 (2016), 49-56 (Year: 2016).