# US 2026/0065347 A1 · Parsing Text Content to Generate Links to Database of Items Using Large Language Models

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

- Number: US 2026/0065347 A1
- Document ID: US20260065347A1
- Status: Published application
- Kind: A1
- Application number: 18/821,722
- Filed: 2024-08-30
- Published: 2026-03-05
- Earliest claimed: 2024-08-30
- Assignees: Maplebear Inc.
- Applicants: Maplebear Inc.
- Inventors: Riddhima Sejpal; Jatin Jain; Prithvishankar Srinivasan
- Web page: https://patentgrep.com/patent/US20260065347A1

## CPC

- G06Q 30/0631: {Recommending goods or services}
- G06Q 30/0603: {Catalogue creation or management}
- G06Q 30/0627: {by specifying product or service characteristics, e.g. product dimensions}
- G06Q 30/0635: {replenishment orders; recurring orders}
- 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

## Abstract

Item linked recipe generation using machine learning is described. Raw data is received that describes a recipe that uses ingredients. Ingredient descriptors are extracted from the raw data for the ingredients. Parsed ingredient data is determined using the ingredient descriptors and a large language model, such that the parsed ingredient data for each ingredient includes a name, a quantity, and a unit of measure. The name of each ingredient is mapped to a corresponding ingredient identifier that is part of an ingredient database. And each ingredient identifier in the ingredient database is associated with a corresponding item that is available for sale at one or more sources. A linked recipe is generated that includes for each ingredient: an ingredient identifier, a quantity of the ingredient, and a unit of measure of the quantity. A recommendation for the linked recipe is provided to a user client device.

## Claims

### Claim 1

A method, performed at a computer system comprising a processor and a computer-readable medium, comprising:
receiving raw recipe data that describes a recipe that uses a set of ingredients;
extracting, from the raw recipe data, ingredient descriptors for the set of ingredients;
generating parsed ingredient data by prompting a large language model using the ingredient descriptors, such that the parsed ingredient data for each ingredient of the set of ingredients includes a name of the ingredient, a quantity of the ingredient, and a unit of measure of the quantity;
mapping, for each ingredient of the parsed ingredient data, the name of the ingredient to a corresponding ingredient identifier that is part of an ingredient database, and each ingredient identifier in the ingredient database is associated with a corresponding item that is available for sale at one or more sources;
generating a linked recipe that includes, for each ingredient: an ingredient identifier, a quantity of the ingredient, and a unit of measure of the quantity; and
providing a recommendation for the linked recipe to a user client device, wherein the providing causes the user client device to display the recommendation.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
tuning the large language model using one or more examples, each example including raw recipe data and a corresponding set of parsed ingredient data.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
generating additional training examples using portions of the linked recipe and complaint data; and
tuning the large language model based in part on the additional training examples.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
identifying, using the ingredient identifier of the linked recipe, a corresponding item that is available for sale from a source of the one or more sources that is associated with the user client device; and
providing a description for the corresponding item to the user client device.

### Claim 5 (depends on 1)

The method of claim 1, wherein a first ingredient descriptor of a first ingredient of the recipe has a first range of quantities, and generating parsed ingredient data by prompting a large language model using the ingredient descriptors comprises:
generating a prompt to provide to the large language model, the prompt instructing the large language model to select, for an ingredient that has a range of quantities, a highest value of the range of quantities,
wherein the parsed ingredient data for the first ingredient descriptor specifies a single quantity of the first ingredient, and the single quantity corresponds to a highest value of the first range of quantities.

### Claim 6 (depends on 1)

The method of claim 1, wherein a first ingredient descriptor of the recipe does not specify a quantity, and generating parsed ingredient data by prompting a large language model using the ingredient descriptors comprises:
generating a prompt to provide to the large language model, the prompt instructing the large language model to select, for an ingredient descriptor that does not specify a quantity, a quantity of one,
wherein the parsed ingredient data for the first ingredient descriptor specifies a quantity of one for the first ingredient descriptor.

### Claim 7 (depends on 1)

The method of claim 1, wherein mapping, for each ingredient of the parsed ingredient data, the name of the ingredient to a corresponding ingredient identifier that is part of the ingredient database, further comprises:
for a name of a first ingredient of the set of ingredients,
mapping the name of the first ingredient to a corresponding set of one or more versions of the name of the first ingredient that are mapped to a first ingredient identifier in the ingredient database, and
mapping the name of the first ingredient to the first ingredient identifier.

### Claim 8 (depends on 7)

The method of claim 7, wherein the corresponding set of one or more versions of the name of the first ingredient are synonyms for the name of the first ingredient.

### Claim 9 (depends on 1)

The method of claim 1, wherein a first ingredient of the recipe is a compound ingredient that is composed of a first ingredient and a second ingredient, and extracting, from the raw recipe data, ingredient descriptors for the set of ingredients, further comprises:
generating a prompt to provide to the large language model, the prompt instructing the large language model to:
identify whether any ingredient of the set of ingredients is a compound ingredient that is composed of multiple ingredients,
separate any identified compound ingredient into separate ingredients such that the set of ingredients includes the multiple ingredients, and
extract, from the raw recipe data, ingredient descriptors for the set of ingredients,
wherein the ingredient descriptors include an ingredient descriptor for the first ingredient and an ingredient descriptor for the second ingredient.

### Claim 10 (depends on 1)

The method of claim 1, wherein the recipe includes a sub-recipe that is composed of a first ingredient and a second ingredient, and extracting, from the raw recipe data, ingredient descriptors for the set of ingredients, further comprises:
generating a prompt to provide to the large language model, the prompt instructing the large language model to:
identify whether the recipe includes a sub-recipe,
identify any ingredients that are associated with the sub-recipe, such that the set of ingredients includes ingredients for the recipe and ingredients for the sub-recipe, and
extract, from the raw recipe data, ingredient descriptors for the set of ingredients,
wherein the ingredient descriptors includes an ingredient descriptor for the first ingredient and an ingredient descriptor for the second ingredient.

### Claim 11

A computer program product comprising a non-transitory computer readable storage medium having instructions encoded thereon that, when executed by a processor of a computer system, cause the computer system to perform steps comprising:
receiving raw recipe data that describes a recipe that uses a set of ingredients;
extracting, from the raw recipe data, ingredient descriptors for the set of ingredients;
generating parsed ingredient data by prompting a large language model using the ingredient descriptors, such that the parsed ingredient data for each ingredient of the set of ingredients includes a name of the ingredient, a quantity of the ingredient, and a unit of measure of the quantity;
mapping, for each ingredient of the parsed ingredient data, the name of the ingredient to a corresponding ingredient identifier that is part of an ingredient database, and each ingredient identifier in the ingredient database is associated with a corresponding item that is available for sale at one or more sources;
generating a linked recipe that includes, for each ingredient: an ingredient identifier, a quantity of the ingredient, and a unit of measure of the quantity; and
providing a recommendation for the linked recipe to a user client device, wherein the providing causes the user client device to display the recommendation.

### Claim 12 (depends on 11)

The computer program product of claim 11, further comprising encoded instructions that when executed cause the computer system to perform steps comprising:
tuning the large language model using one or more examples, each example including raw recipe data and a corresponding set of parsed ingredient data.

### Claim 13 (depends on 11)

The computer program product of claim 11, further comprising encoded instructions that when executed cause the computer system to perform steps comprising:
generating additional training examples using portions of the linked recipe and complaint data; and
tuning the large language model based in part on the additional training examples.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein a first ingredient descriptor of a first ingredient of the recipe has a first range of quantities, and generating parsed ingredient data by prompting a large language model using the ingredient descriptors comprises:
generating a prompt to provide to the large language model, the prompt instructing the large language model to select, for an ingredient that has a range of quantities, a highest value of the range of quantities,
wherein the parsed ingredient data for the first ingredient descriptor specifies a single quantity of the first ingredient, and the single quantity corresponds to a highest value of the first range of quantities.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein a first ingredient descriptor of the recipe does not specify a quantity, and generating parsed ingredient data by prompting a large language model using the ingredient descriptors comprises:
generating a prompt to provide to the large language model, the prompt instructing the large language model to select, for an ingredient descriptor that does not specify a quantity, a quantity of one,
wherein the parsed ingredient data for the first ingredient descriptor specifies a quantity of one for the first ingredient descriptor.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the encoded instructions to map, for each ingredient of the parsed ingredient data, the name of the ingredient to a corresponding ingredient identifier that is part of the ingredient database, further comprises instructions that when executed cause the computer system to perform steps comprising:
for a name of a first ingredient of the set of ingredients,
mapping the name of the first ingredient to a corresponding set of one or more versions of the name of the first ingredient that are mapped to a first ingredient identifier in the ingredient database, and
mapping the name of the first ingredient to the first ingredient identifier.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the corresponding set of one or more versions of the name of the first ingredient are synonyms for the name of the first ingredient.

### Claim 18 (depends on 11)

The computer program product of claim 11, wherein a first ingredient of the recipe is a compound ingredient that is composed of a first ingredient and a second ingredient, and the encoded instructions to extract, from the raw recipe data, ingredient descriptors for the set of ingredients, further comprises instructions that when executed cause the computer system to perform steps comprising:
generating a prompt to provide to the large language model, the prompt instructing the large language model to:
identify whether any ingredient of the set of ingredients is a compound ingredient that is composed of multiple ingredients,
separate any identified compound ingredient into separate ingredients such that the set of ingredients includes the multiple ingredients, and
extract, from the raw recipe data, ingredient descriptors for the set of ingredients,
wherein the ingredient descriptors include an ingredient descriptor for the first ingredient and an ingredient descriptor for the second ingredient.

### Claim 19 (depends on 11)

The computer program product of claim 11, wherein the recipe includes a sub-recipe that is composed of a first ingredient and a second ingredient, and the encoded instructions to extract, from the raw recipe data, ingredient descriptors for the set of ingredients, further comprises instructions that when executed cause the computer system to perform steps comprising:
generating a prompt to provide to the large language model, the prompt instructing the large language model to:
identify whether the recipe includes a sub-recipe,
identify any ingredients that are associated with the sub-recipe, such that the set of ingredients includes ingredients for the recipe and ingredients for the sub-recipe, and
extract, from the raw recipe data, ingredient descriptors for the set of ingredients,
wherein the ingredient descriptors include an ingredient descriptor for the first ingredient and an ingredient descriptor for the second ingredient.

### Claim 20

A computer system comprising:
a processor; and
a non-transitory computer readable storage medium having instructions encoded thereon that, when executed by the processor, cause the computer system to perform steps comprising:
receiving raw recipe data that describes a recipe that uses a set of ingredients;
extracting, from the raw recipe data, ingredient descriptors for the set of ingredients;
generating parsed ingredient data by prompting a large language model using the ingredient descriptors, such that the parsed ingredient data for each ingredient of the set of ingredients includes a name of the ingredient, a quantity of the ingredient, and a unit of measure of the quantity;
mapping, for each ingredient of the parsed ingredient data, the name of the ingredient to a corresponding ingredient identifier that is part of an ingredient database, and each ingredient identifier in the ingredient database is associated with a corresponding item that is available for sale at one or more sources;
generating a linked recipe that includes, for each ingredient: an ingredient identifier, a quantity of the ingredient, and a unit of measure of the quantity; and
providing a recommendation for the linked recipe to a user client device, wherein the providing causes the user client device to display the recommendation.
