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.

Date of Patent:
Nov. 10, 2026

Filed:

Apr. 10, 2025
Applicant:

Red Hat, Inc., Raleigh, NC (US);

Inventors:

Farah Juma, Toronto, CA;

Stefano Maestri, Milan, IT;

Assignee:

Red Hat, Inc., Raleigh, NC (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/00 (2019.01); G06F 16/93 (2019.01); G06N 3/08 (2023.01);
U.S. Cl.
CPC ...
G06F 16/93 (2019.01); G06N 3/08 (2013.01);
Abstract

A retrieval augmented generation (RAG) process for a large language model (LLM) can be enhanced using contextual data. For example, a system can transform a query into a query embedding and generate weighted similarity scores for chunk embeddings stored in a database. Each weighted similarity score can be generated based on the query embedding, the chunk embedding, and at least one contextual data embedding. The system can select at least one of the chunk embeddings based on the weighted similarity scores. The at least one chunk embedding corresponds to at least one chunk of at least one text document. The system can then retrieve the at least one text document from a document database, generate an input for a LLM that includes the at least one text document and the query, and execute the LLM based on the input to generate a response to the query.


Find Patent Forward Citations

Quick Actions:

Juma, Farah. (2026). Enhancing retrieval augmented generation (rag) for a large language model using contextual data (U.S. Patent No. 12792672). U.S. Patent and Trademark Office. https://idiyas.com/patent/badge/12792672

Data source: USPTO (United States Patent and Trademark Office) public patent records. Weekly synchronization. How IDiyas builds this profile

Loading…