Patent · US Active

Elidable text for prompt crafting

US12271710B2 · kind B2 · utility

0Cited by
0References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 16, 2023
Grant dateApr 8, 2025
Priority date
Expiry dateOct 12, 2043

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/37
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

An elidable text is constructed that prioritizes the content included in a prompt to a large language model having a fixed-size context window. The elidable text is generated from developer-generated instructions or automatically for source code within a source code editor. A source code editor may include a feature that selects certain lines of code as important or focused which are assigned a high-priority value. A changed line, a line of source code at a current cursor position, lines of source code at the beginning of a file and those that output data are considered focused lines. Non-focused lines are assigned a priority based on a distance from a focused line. The elidable text constrains the data included in a prompt to the context window size by replacing the lowest-valued lines of text and source code with a replacement string.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.