# US 2026/0087244 A1 · Generative response model utilizing retrieval augmented generation and restrictive prompt engineering

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0087244 A1
- Document ID: US20260087244A1
- Status: Published application
- Kind: A1
- Application number: 18/894,171
- Filed: 2024-09-24
- Published: 2026-03-26
- Earliest claimed: 2024-09-24
- Assignees: Cdw LLC
- Applicants: Cdw LLC
- Inventors: Justin Jones; Anurag Batra; Michael Andrew Davidson; Mark J. Pazdan
- Web page: https://patentgrep.com/patent/US20260087244A1

## CPC

- G06F 16/33295: {in dialogue systems}
- G06F 40/186: Templates
- G06F 16/3347: {using vector based model}
- G06F 40/47: Machine-assisted translation, e.g. using translation memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system for evaluating information technology (IT) documentation including machine learning models, vector databases, processors, and memories to generate responses for queries associated with one or more of: IT problems, IT solutions, or IT devices. A computer-implemented method involving receiving input data including one or more user queries; generating at least one prompt by interpolating the user queries into a template prompt; processing, via an embedding model, the prompt to generate a retrieval vector corresponding to the prompt; retrieving, by querying a vector database using the retrieval vector as an input parameter, one or more retrieval results; processing, using a trained language model, the prompt, the retrieval results and an assistant prompt including a set of assistant instructions for restricting the output of the trained language model; and displaying, via a graphical user interface, one or more responses corresponding to the user queries from the trained language model.

## Claims

### Claim 1

A computing system for evaluating information technology (IT) documentation comprising:
one or more processors; and
one or more memories including computer-executable instructions stored thereon that, when executed by the one or more processors, cause the computing system to:
receive, via the one or more processors and from a user device, input data including one or more user queries;
generate, via the one or more processors, at least one prompt corresponding to the user queries by interpolating the user queries into a template prompt;
process, via an embedding model, the prompt to generate a retrieval vector corresponding to the prompt;
retrieve, by querying a vector database using the retrieval vector as an input parameter, one or more retrieval results;
process, using a trained language model, (i) the prompt, (ii) the retrieval results and (iii) an assistant prompt including a set of assistant instructions for restricting the output of the trained language model; and
display, via a graphical user interface of the user device, one or more responses corresponding to the user queries from the trained language model.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the assistant instructions specify that the output of the trained language model: (i) may only provide responses for questions related to a knowledge base of interest, or (ii) must reject questions that require a definitive response.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
generate the vector database based on initial training data including one or more questions and a plurality of relevant documents, the vector database accessible by the trained language model,
wherein the questions and the relevant documents correspond to one or more of: IT problems, IT solutions, or IT devices.

### Claim 4 (depends on 3)

The computing system of claim 3, wherein the one or more questions and the relevant documents are included in initial input data from the user device.

### Claim 5 (depends on 3)

The computing system of claim 3, further comprising:
a knowledge base datastore including a corpus of documents corresponding to a knowledge base of interest; and
one or more application programming interfaces (APIs) accessible by the knowledge base datastore and the trained language model.

### Claim 6 (depends on 5)

The computing system of claim 5, wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
obtain, via the one or more APIs, the relevant documents from the knowledge base datastore.

### Claim 7 (depends on 5)

The computing system of claim 5, wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
obtain, based on the initial training data and via the one or more APIs, additional relevant documents from the knowledge base datastore; and
upsert the vector database based on additional training data including the additional relevant documents.

### Claim 8 (depends on 3)

The computing system of claim 3, wherein the prompt includes a set of instructions specifying that the output of the trained language model must include one or more source documents retrieved from the vector database for each of the one or more responses; and
wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
displaying, via the graphical user interface, the one or more source documents with the one or more responses.

### Claim 9 (depends on 3)

The computing system of claim 3, wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
determine one or more entities associated with the initial training data and the user queries.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
generate the vector database by indexing the relevant documents based on a respective entity for each relevant document.

### Claim 11 (depends on 1)

The computing system of claim 1, wherein the one or more memories include computer-executable instructions stored thereon that, when executed by the one or more processors, further cause the computing system to:
obtain, via the graphical user interface, one or more user responses including one or more of: additional input data, or feedback data.

### Claim 12

A computer-implemented method for evaluating information technology (IT) documentation, the method comprising:
receiving, via one or more processors and from a user device, input data including one or more user queries;
generating, via the one or more processors, at least one prompt corresponding to the user queries by interpolating the user queries into a template prompt;
processing, via an embedding model, the prompt to generate a retrieval vector corresponding to the prompt;
retrieving, by querying a vector database using the retrieval vector as an input parameter, one or more retrieval results;
processing, using a trained language model, (i) the prompt, (ii) the retrieval results and (iii) an assistant prompt including a set of assistant instructions for restricting the output of the trained language model; and
displaying, via a graphical user interface of the user device, one or more responses corresponding to the user queries from the trained language model.

### Claim 13 (depends on 12)

The method of claim 12, wherein the assistant instructions specify that the output of the trained language model: (i) may only provide responses for questions related to a knowledge base of interest, or (ii) must reject questions that require a definitive response.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
generating the vector database based on initial training data including one or more questions and a plurality of relevant documents, the vector database accessible by the trained language model,
wherein the questions and the relevant documents correspond to one or more of: IT problems, IT solutions, or IT devices.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
obtaining, via one or more APIs, the relevant documents from a knowledge base datastore.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
obtaining, based on the initial training data and via one or more APIs, additional relevant documents from a knowledge base datastore; and
upserting the vector database based on additional training data including the additional relevant documents.

### Claim 17 (depends on 14)

The method of claim 14, wherein the prompt includes a set of instructions specifying that the output of the trained language model must include one or more source documents retrieved from the vector database for each of the one or more responses; and
wherein the method further comprises:
displaying, via the graphical user interface, the one or more source documents with the one or more responses.

### Claim 18 (depends on 14)

The method of claim 14, further comprising:
determining one or more entities associated with the initial training data and the user queries.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
generating the vector database by indexing the relevant documents based on a respective entity for each relevant document.

### Claim 20

A non-transitory computer readable medium containing program instructions that when executed by one or more processors, cause a computer to:
receive, via the one or more processors and from a user device, input data including one or more user queries;
generate, via the one or more processors, at least one prompt corresponding to the user queries by interpolating the user queries into a template prompt;
process, via an embedding model, the prompt to generate a retrieval vector corresponding to the prompt;
retrieve, by querying a vector database using the retrieval vector as an input parameter, one or more retrieval results;
process, using a trained language model, (i) the prompt, (ii) the retrieval results and (iii) an assistant prompt including a set of assistant instructions for restricting the output of the trained language model; and
display, via a graphical user interface of the user device, one or more responses corresponding to the user queries from the trained language model.
