hottub.patents
US 12,367,336 B2#3489346 Most CitedActiveUnited States (USPTO)Utility

Chain of thought reasoning for LLM integrations in spreadsheet environments

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

Abstract

Technology is disclosed herein for the integration of spreadsheet environments and LLM services. In an implementation, an application service inputs a first prompt to a LLM service to provide a formula suggestion for a spreadsheet. The application service receives a first output from the LLM service that includes a first formula in a programming language having a syntax that does not support comments. The application service generates a second prompt instructing the LLM service to provide a chain-of-thought breakdown of the first formula and receives a second output. The second output includes a second formula in the same programming language as the first formula and multiple comments corresponding to multiple portions of the second formula.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · 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 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, in a user interface of an application hosting a spreadsheet, a natural language request from a user for a formula suggestion for the spreadsheet; input a first prompt to a large language model (LLM) service to provide the formula suggestion for the spreadsheet in response to the natural language request; receive a first output from the LLM service that includes a first formula in a programming language having a syntax that does not support comments; generate a second prompt instructing the LLM service to provide a chain-of-thought breakdown of the first formula; receive a second output comprising the chain-of-thought breakdown of

  2. Claim 2Depends on #1

    The computing apparatus of claim 1, wherein to display the progression of the multiple portions of the chain-of-thought breakdown and the multiple comments corresponding to the multiple portions, the program instructions further direct the computing apparatus to advance the progression to a next portion of the multiple portions in response to receiving the user input comprising the acceptance of the given portion.

  3. Claim 3Depends on #2

    The computing apparatus of claim 2, wherein the chain-of-thought breakdown comprises a LET function.

  4. Claim 4Depends on #3

    The computing apparatus of claim 3, wherein the programming language comprises a non-procedural programming language native to a spreadsheet application hosting the spreadsheet.

  5. Claim 5Depends on #1

    The computing apparatus of claim 1, wherein to display the progression of the multiple portions of the chain-of-thought breakdown and the multiple comments corresponding to the multiple portions, the program instructions further direct the computing apparatus to receive user input in the user interface of the application to accept or reject each portion of the multiple portions after displaying the respective portion.

  6. Claim 6Depends on #5

    The computing apparatus of claim 5, wherein the program instructions further direct the computing apparatus to generate a new prompt to the LLM service when a portion of the multiple portions is rejected.

  7. Claim 7Depends on #1

    The computing apparatus of claim 1, wherein the chain-of-thought breakdown comprises a decomposition of the first formula into the multiple portions, wherein each portion of the multiple portions comprises an intermediate step in computing the first formula.

  8. Claim 8Depends on #7

    The computing apparatus of claim 7, wherein the first prompt includes at least a portion of the spreadsheet.

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,731, entitled CHAIN OF THOUGHT REASONING 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

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 (9)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Anonymous,
  • “
  • Holy Google Sheets! You Can Now Integrate the ChatGPT API
  • ”
  • , Retrieved from the URL: https://ai.plainenglish.io/holy-google-sheets-you-can-now-integrate-the-chatgptapi-b401ac065844, Mar. 8, 2023, 7 Pages.
  • Barke, et al.,
  • “
  • Grounded Copilot: How Programmers Interact with Code-Generating Models,
  • ”
  • In Proceedings of the ACM on Programming Languages, vol. 7, No. OOPSLA1, Oct. 31, 2022, pp. 85-111.