# US 2026/0087681 A1 · Intent-guided and grounded document generation

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

- Number: US 2026/0087681 A1
- Document ID: US20260087681A1
- Status: Published application
- Kind: A1
- Application number: 18/891,558
- Filed: 2024-09-20
- Published: 2026-03-26
- Earliest claimed: 2024-09-20
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Pritika Ramu; Aparna Garimella; Himanshu Maheshwari
- Web page: https://patentgrep.com/patent/US20260087681A1

## CPC

- G06T 11/00: Two-dimensional [2D] image generation
- G06F 40/186: Templates
- G06F 40/30: Semantic analysis
- G06F 40/56: Natural language generation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, apparatus, non-transitory computer readable medium, and system for natural language processing include obtaining an intent input including a request for information and a reference text including a source for the information. A planning instruction and an output instruction are generated based on the intent input. The planning instruction describes a document structure and an output instruction describes an output from a language generation model. A document plan for an output document with the document structure is generated, using the language generation model, based on the planning instruction. The output document is generated, using the language generation model, based on the reference text, the output instruction, and the document plan. The output document includes content from the reference text consistent with the intent input.

## Claims

### Claim 1

A method comprising:
obtaining an intent input including a request for information and a reference text including a source for the information;
generating a planning instruction and an output instruction based on the intent input, wherein the planning instruction describes a document structure and an output instruction describes an output from a language generation model;
generating, using the language generation model, a document plan for an output document with the document structure based on the planning instruction; and
generating, using the language generation model, the output document based on the reference text, the output instruction, and the document plan, wherein the output document includes content from the reference text consistent with the intent input.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the intent input comprises a document title, a section heading, or both.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the reference text includes a plurality of sentences from a plurality of different source documents.

### Claim 4 (depends on 1)

The method of claim 1, wherein obtaining the reference text comprises:
encoding the intent input and the reference text to obtain an intent encoding and a text encoding, respectively; and
comparing the intent encoding and the text encoding, wherein the reference text is selected based on the comparison.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the prompt comprises:
obtaining a prompt template; and
inserting the intent input and the reference text into the prompt template.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the prompt specifies a structure of the output document.

### Claim 7 (depends on 1)

The method of claim 1, wherein:
the prompt includes an instruction not to output the document plan.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
the document plan includes a list of topics and the output document includes content corresponding to each topic in the list of topics.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating the output document comprises:
autoregressively generating text of the output document.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
generating, using the language generation model, an image description based on the prompt; and
obtaining an image based on the image description, wherein the output document comprises a multi-media document including the image.

### Claim 11 (depends on 1)

The method of claim 1, wherein generating the output document comprises:
obtaining a document template; and
inserting the content into the document template.

### Claim 12

A non-transitory computer readable medium storing code for natural language processing, the code comprising instructions executable by at least one processor to:
obtain an intent input including a request for information and a reference text including a source for the information;
generate a planning instruction and an output instruction based on the intent input, wherein the planning instruction describes a document structure and an output instruction describes an output from a language generation model;
generate, using the language generation model, a document plan for an output document with the document structure based on the planning instruction; and
generate, using the language generation model, the output document based on the reference text, the output instruction, and the document plan, wherein the output document includes content from the reference text consistent with the intent input.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, the code further comprising instructions executable by the at least one processor to:
encode the intent input and the reference text to obtain an intent encoding and a text encoding, respectively; and
compare the intent encoding and the text encoding, wherein the reference text is selected based on the comparison.

### Claim 14 (depends on 12)

The non-transitory computer readable medium of claim 12, the code further comprising instructions executable by the at least one processor to:
obtain a prompt template; and
insert the intent input and the reference text into the prompt template.

### Claim 15 (depends on 12)

The non-transitory computer readable medium of claim 12, the code further comprising instructions executable by the at least one processor to:
generate, using the language generation model, an image description based on the prompt; and
obtain an image based on the image description, wherein the output document comprises a multi-media document including the image.

### Claim 16

An apparatus comprising:
at least one processor;
at least one memory including instructions executable by the at least one processor;
a prompt generation component comprising code stored in the at least one memory and configured to generate a planning instruction and an output instruction based on an intent input, wherein the planning instruction describes a document structure and an output instruction describes an output from a language generation model; and
the language generation model comprising parameters stored in the at least one memory and configured to generate a document plan for an output document with the document structure based on the planning instruction, and to generate the output document based on the reference text, the output instruction, and the document plan, wherein the output document includes content from the reference text consistent with the intent input.

### Claim 17 (depends on 16)

The apparatus of claim 16, further comprising:
an extraction component configured to extract a plurality of sentences from a plurality of different source documents, wherein the reference text includes the plurality of sentences.

### Claim 18 (depends on 16)

The apparatus of claim 16, further comprising:
a text encoder configured to encode the intent input and the reference text to obtain an intent encoding and a text encoding, respectively.

### Claim 19 (depends on 16)

The apparatus of claim 16, wherein:
the language generation model comprises a transformer network.

### Claim 20 (depends on 16)

The apparatus of claim 16, further comprising:
an image generator configured to generate a synthetic image based on an image description, wherein the output document comprises a multi-media document including the synthetic image.
