The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 14, 2025
Filed:
Jun. 28, 2022
Microsoft Technology Licensing, Llc, Redmond, WA (US);
Johan Sebastian Heesemann Rosenkilde, Birkerød, DK;
Albert Ziegler, Uppsala, SE;
Oegerikus De Moor, Tas-Sliema, MT;
Maksym Taran, Scottsdale, AZ (US);
Edward Emil Aftandilian, Sunnyvale, CA (US);
Arjuna Ganesh Sittampalam, St Neots, GB;
Krzysztof Stanisław Cieślak, Lódź, PL;
Microsoft Technology Licensing, LLC, Redmond, WA (US);
Abstract
Using indentation to trim output of a language synthesis model. A computer system determines a first indentation level associated with a cursor within an editor buffer. The computer system identifies a block of line(s) from an output from a language synthesis model. Each line in the block meets at least one criterion from a set of criteria, including a first criterion that the line is an initial line in the output from the language synthesis model, a second criterion that the line has a second indentation level that is greater than the first indentation level, and a third criterion that the line contains a continuation token. The computer system identifies a particular line, immediately following the block, that does not meet any criterion from the set of criteria. The computer system trims the output from the language synthesis model from the particular line onward.