# US 2025/0156926 A1 · Integrating featured product recommendations in applications with machine-learned large language models (llms)

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

- Number: US 2025/0156926 A1
- Document ID: US20250156926A1
- Status: Published application
- Kind: A1
- Application number: 18/943,691
- Filed: 2024-11-11
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Maplebear Inc.
- Applicants: Maplebear Inc.
- Inventors: Haixun Wang; Shrikar Archak; Tejaswi Tenneti
- Web page: https://patentgrep.com/patent/US20250156926A1

## CPC

- G06Q 30/0631: {Recommending goods or services}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9558: {Details of hyperlinks; Management of linked annotations}
- G06Q 30/08: Auctions
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An online system receives a user request from a client device through the interface, identifies one or more featured products based on the query, and generates a prompt for input to a machine-learned generative language model. The prompt specifies both the user's request and a request to suggest the featured products in association with a response to the user request. This prompt is fed into a machine-learned language model via a model serving system for execution. The online system receives a response generated by the model, generates a query response based on the response generated by the model, and transmits instructions to the client device to display the query response. The online system collects data on user interactions with the uses the collected data to fine-tune the machine-learned generative language model.

## Claims

### Claim 1

A method comprising:
receiving, from a client device and via an interface, a user query;
identifying one or more featured products based on the user query;
generating a prompt for input to a machine-learned generative language model, the prompt specifying at least a request related to the user query and a request to suggest the one or more featured products in association with a response to the prompt;
providing the prompt to a model serving system for execution by the machine-learned generative language model;
receiving, from the model serving system, a response generated by executing the machine-learned generative language model on the prompt, the response including at least one of the one or more featured products;
generating a query response to the user query based on the response generated by executing the machine-learned generative language model on the prompt, the query response including at least a suggestion for the at least one of the one or more featured products;
transmitting instructions, to the client device, to cause display of the generated query response to the user;
receiving and collecting data on user interactions with the query response; and
fine-tuning the machine-learned generative language model based on the collected data on user interactions with the query response.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a respective relevance score for each of a set of candidate featured products, the relevance score indicating a level of relevance of a respective featured product to the user query; and
selecting the one or more featured products having relevance scores above a threshold for inclusion in the prompt.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a bid value from each of a plurality of product providers that offer a set of candidate featured products; and
selecting the one or more featured products having bid values above a threshold for inclusion in the prompt.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the query response comprises generating a recipe page including a list of products for fulfilling the recipe, wherein the list of products includes the one or more featured products.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the query response comprises generating textual content incorporating the suggestion for the one or more featured products in the textual content.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving a second user query from a second client device;
generating a second prompt for input to the machine-learned generative language model, the second prompt specifying at least a second request related to the second user query and a second request to include one or more consumer packaged good (CPG) products in a response; and
receiving a second response generated by executing the machine-learned generative language model on the second prompt, the second response including the one or more CPG products.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
generating a second query response to the second user query by mapping the one or more CPG products to one or more products in a catalog of an online system; and
transmitting instructions to the second client device to cause presentation of the one or more mapped products to a second user.

### Claim 8 (depends on 7)

The method of claim 7, wherein generating the second query further comprises:
mapping a CPG product to a set of candidate products;
receiving a bid value for each candidate product in the set of candidate products; and
performing an auction process to select a product from the set of candidate products having a bid value above a threshold.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating the suggestion for the one or more featured products includes creating hyperlinks associated with the products, allowing direct interaction with the featured products within the response.

### Claim 10

A non-transitory computer-readable medium, having instructions encoded thereon that, when executed by one or more processors, cause the one or more processors to perform steps comprising:
receiving, from a client device and via an interface, a user query;
identifying one or more featured products based on the user query;
generating a prompt for input to a machine-learned generative language model, the prompt specifying at least a request related to the user query and a request to suggest the one or more featured products in association with a response to the prompt;
providing the prompt to a model serving system for execution by the machine-learned generative language model;
receiving, from the model serving system, a response generated by executing the machine-learned generative language model on the prompt, the response including at least one of the one or more featured products;
generating a query response to the user query based on the response generated by executing the machine-learned generative language model on the prompt, the query response including at least a suggestion for the at least one of the one or more featured products;
transmitting instructions, to the client device, to cause display of the generated query response to the user;
receiving and collecting data on user interactions with the query response; and
fine-tuning the machine-learned generative language model based on the collected data on user interactions with the query response.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, further comprising:
generating a respective relevance score for each of a set of candidate featured products, the relevance score indicating a level of relevance of a respective featured product to the user query; and
selecting the one or more featured products having relevance scores above a threshold for inclusion in the prompt.

### Claim 12 (depends on 10)

The non-transitory computer-readable medium of claim 10, the steps further comprising:
receiving a bid value from each of a plurality of product providers that offer a set of candidate featured products; and
selecting the one or more featured products having bid values above a threshold for inclusion in the prompt.

### Claim 13 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein generating the query response comprises generating a recipe page including a list of products for fulfilling the recipe, wherein the list of products includes the one or more featured products.

### Claim 14 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein generating the query response comprises generating textual content incorporating the suggestion for the one or more featured products in the textual content.

### Claim 15 (depends on 10)

The non-transitory computer-readable medium of claim 10, the steps further comprising:
receiving a second user query from a second client device;
generating a second prompt for input to the machine-learned generative language model, the second prompt specifying at least a second request related to the second user query and a second request to include one or more consumer packaged good (CPG) products in a response; and
receiving a second response generated by executing the machine-learned generative language model on the second prompt, the second response including the one or more CPG products.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, the steps further comprising:
generating a second query response to the second user query by mapping the one or more CPG products to one or more products in a catalog of an online system; and
transmitting instructions to the second client device to cause presentation of the one or more mapped products to a second user.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein generating the second query further comprises:
mapping a CPG product to a set of candidate products;
receiving a bid value for each candidate product in the set of candidate products; and
performing an auction process to select a product from the set of candidate products having a bid value above a threshold.

### Claim 18 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the suggestion for the one or more featured products includes hyperlinks associated with the one or more featured products, enabling the user to directly interact with the one or more featured products from within the response.

### Claim 19

A computing system, comprising:
one or more processors;
non-transitory computer-readable medium, having instructions encoded thereon that, when executed by the one or more processors, cause the one or more processors to perform steps comprising:
receiving, from a client device and via an interface, a user query;
identifying one or more featured products based on the user query;
generating a prompt for input to a machine-learned generative language model, the prompt specifying at least a request related to the user query and a request to suggest the one or more featured products in association with a response to the prompt;
providing the prompt to a model serving system for execution by the machine-learned generative language model;
receiving, from the model serving system, a response generated by executing the machine-learned generative language model on the prompt, the response including at least one of the one or more featured products;
generating a query response to the user query based on the response generated by executing the machine-learned generative language model on the prompt, the query response including at least a suggestion for the at least one of the one or more featured products;
transmitting instructions, to the client device, to cause display of the generated query response to the user;
receiving and collecting data on user interactions with the query response; and
fine-tuning the machine-learned generative language model based on the collected data on user interactions with the query response.

### Claim 20 (depends on 19)

The computing system of claim 19, the steps further comprising:
generating a respective relevance score for each of a set of candidate featured products, the relevance score indicating a level of relevance of a respective featured product to the user query; and
selecting the one or more featured products having relevance scores above a threshold for inclusion in the prompt.
