Patents

US 12754903 B1: Reducing the input prompt size for a large language model

Granted
2026-10-06
Filed
2025-04-24 application 19188411
Type
Utility · 20 claims
Elsewhere
Google Patents ↗ · USPTO patent document ↗ · USPTO Patent Center record ↗

Abstract

The size of an input prompt for a large language model (LLM) can be reduced according to some techniques described herein. As one example, a system can generate a first vector embedding of a natural language query from a user. The system can also generate a second vector embedding of a conversation history between the user and a LLM. The system can then generate a truncated embedding by executing a filtering process based on the first vector embedding and the second vector embedding. The system can generate an input prompt based on the truncated embedding. The system can then execute the LLM based on the input prompt to generate a response to the query. Reducing the size of the input prompt can decrease latency, execution time, and hallucinations associated with the LLM.

Source: PTBLXML, file of 2026-10-06 (ipgb20261006.xml).

Assignees

AssigneeTypePlaceAlso on furp.orgSource
Red Hat, Inc. 3,620 patentsUS company or organizationRaleigh, NCRED HAT INC Form D issuer EXACT high confidence: identical full name and state
RED HAT INC SEC filer EXACT medium confidence: identical full name, one of each nationally
PTBLXML, file of 2026-10-06

Inventors

InventorPlacePatentsPerson pageSource
Mario FuscoMilan, IT6PTBLXML, file of 2026-10-06
Luca MolteniMilan, IT4PTBLXML, file of 2026-10-06

CPC categories

SubclassCategoryFirst groupSource
G06FElectric digital data processingG06F16/243PTBLXML, file of 2026-10-06

Cooperative Patent Classification, as currently assigned (one row per subclass).

Assignments and security interests

RecordedWhatFromToReel/frameSource
2025-04-24Assignment
Assignment of assignor's interest
FUSCO, MARIO signed 2025-04-10
MOLTENI, LUCA signed 2025-04-10
RED HAT, INC. RALEIGH, NC70935/30PASDL, file of 2026-10-10

Documents recorded with the USPTO Assignment Recordation Branch that list this patent. A security interest is a lender’s claim on the patent as collateral; a release ends it.

USPTO bulk data: PatentsView granted patents, disambiguated (PVGPATDIS) for patents, assignees, inventors, places and CPC categories; the USPTO Patent Assignment Dataset (ECORSEXC) for assignments and security interests. Patents filed in the last 20 years. No claims or full text. Links to other records are by name (and state): EXACT means the identical full name and state; FUZZY means a looser name match, with the confidence shown.