# US 2026/0311689 A1 · Query replay for personalized responses in an llm powered assistant

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

- Number: US 2026/0311689 A1
- Document ID: US20260311689A1
- Status: Published application
- Kind: A1
- Application number: 19/711,755
- Filed: 2026-06-17
- Published: 2026-10-08
- Earliest claimed: 2023-12-20
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Matthew Sharifi; Victor Carbune
- Web page: https://patentgrep.com/patent/US20260311689A1

## CPC

- G10L 15/063: {Training}
- G10L 15/16: using artificial neural networks
- G10L 2015/0635: {updating or merging of old and new templates; Mean values; Weighting}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A method for personalizing responses includes receiving a natural language query from a user that solicits a response from an assistant large language model (LLM) and processing the natural language query to identify, from a log of refinement queries each previously input by the user for instructing the assistant LLM to refine a corresponding previous response generated by the assistant LLM, a preferred refinement query that is relevant to the natural language query. The method also includes prompting, using the natural language query and the preferred refinement query identified as being relevant to the natural language query, the assistant LLM to generate a personalized response to the natural language query. The method also includes providing, for output from a user device, the personalized response to the natural language query.

## Claims

### Claim 1

A computer-implemented method executed on data processing hardware that causes the data processing hardware to perform operations comprising:
receiving a natural language query from a user that solicits a response from an assistant large language model (LLM);
receiving local context associated with the natural language query, wherein the local context comprises recent user history information associated with the user;
structuring a composite prompt based on the natural language query and the local context;
prompting, using the composite prompt, the assistant LLM to generate a personalized response to the natural language query; and
providing, for output from a user device, the personalized response to the natural language query.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein receiving the natural language query comprises:
receiving audio data characterizing an utterance of the natural language query spoken by the user and captured by the user device; and
performing speech recognition on the audio data to generate a textual representation of the natural language query spoken by the user.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein prompting the assistant LLM to generate the personalized response to the natural language query comprises:
during a first roundtrip, issuing, for input to the assistant LLM, the natural language query as an un-personalized prompt to cause the assistant LLM to generate an un-personalized response to the natural language query; and
during a second roundtrip responsive to the assistant LLM generating the un-personalized response, issuing, for input to the assistant LLM, the composite prompt as a personalized prompt to cause the assistant LLM to generate the personalized response to the natural language query,

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein providing the personalized response to the natural language query comprises providing, for output from the user device, response content comprising both the personalized response and the un-personalized response to the natural language query.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein prompting the assistant LLM to generate the personalized response to the natural language query comprises, issuing, for input to the assistant LLM, the composite prompt to cause the assistant LLM to:
generate a base response to the natural language query, the base response not personalized for the user; and
augment the base response to convey personal preferences specified by the refinement prompt, wherein the personalized response comprises the augmented base response.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein augmenting the base response comprises highlighting information or results in the base response.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein augmenting the base response comprises annotating text in the base response.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein augmenting the base response comprises underlining or modifying text in the base response.

### Claim 9 (depends on 5)

The computer-implemented method of claim 5, wherein augmenting the base response comprises adjusting a formatting of the base response.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein structuring the composite prompt comprises augmenting the natural language query by concatenating the natural language query with the local context.

### Claim 11

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
receiving a natural language query from a user that solicits a response from an assistant large language model (LLM);
receiving local context associated with the natural language query, wherein the local context comprises recent user history information associated with the user;
structuring a composite prompt based on the natural language query and the local context;
prompting, using the composite prompt, the assistant LLM to generate a personalized response to the natural language query; and
providing, for output from a user device, the personalized response to the natural language query.

### Claim 12 (depends on 11)

The system of claim 11, wherein receiving the natural language query comprises:
receiving audio data characterizing an utterance of the natural language query spoken by the user and captured by the user device; and
performing speech recognition on the audio data to generate a textual representation of the natural language query spoken by the user.

### Claim 13 (depends on 11)

The system of claim 11, wherein prompting the assistant LLM to generate the personalized response to the natural language query comprises:
during a first roundtrip, issuing, for input to the assistant LLM, the natural language query as an un-personalized prompt to cause the assistant LLM to generate an un-personalized response to the natural language query; and
during a second roundtrip responsive to the assistant LLM generating the un-personalized response, issuing, for input to the assistant LLM, the composite prompt as a personalized prompt to cause the assistant LLM to generate the personalized response to the natural language query.

### Claim 14 (depends on 13)

The system of claim 13, wherein providing the personalized response to the natural language query comprises providing, for output from the user device, response content comprising both the personalized response and the un-personalized response to the natural language query.

### Claim 15 (depends on 11)

The system of claim 11, wherein prompting the assistant LLM to generate the personalized response to the natural language query comprises, issuing, for input to the assistant LLM, the composite prompt to cause the assistant LLM to:
generate a base response to the natural language query, the base response not personalized for the user; and
augment the base response to convey personal preferences specified by the refinement prompt, wherein the personalized response comprises the augmented base response.

### Claim 16 (depends on 15)

The system of claim 15, wherein augmenting the base response comprises highlighting information or results in the base response.

### Claim 17 (depends on 15)

The system of claim 15, wherein augmenting the base response comprises annotating text in the base response.

### Claim 18 (depends on 15)

The system of claim 15, wherein augmenting the base response comprises underlining or modifying text in the base response.

### Claim 19 (depends on 15)

The system of claim 15, wherein augmenting the base response comprises adjusting a formatting of the base response.

### Claim 20 (depends on 11)

The system of claim 11, wherein structuring the composite prompt comprises augmenting the natural language query by concatenating the natural language query with the local context.
