# US 2026/0064740 A1 · Training a neural database for efficient document search

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

- Number: US 2026/0064740 A1
- Document ID: US20260064740A1
- Status: Published application
- Kind: A1
- Application number: 18/822,007
- Filed: 2024-08-30
- Published: 2026-03-05
- Earliest claimed: 2024-08-30
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Malathy MUTHU; Michelle KOH; Rushabh MEHTA; Jingyu HUANG
- Web page: https://patentgrep.com/patent/US20260064740A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/316: {Indexing structures}
- G06F 16/3326: {using relevance feedback from the user, e.g. relevance feedback on documents, documents sets, document terms or passages}
- G06F 16/383: using metadata automatically derived from the content
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the disclosure provide a method, including: generating a plurality of text chunks by processing a document, wherein each text chunk includes: a configured portion of the document, and location metadata associated with the document; processing, with a machine learning model, a first subset of the text chunks to extract contextual metadata; processing, with the machine learning model, a second subset of the text chunks to extract index metadata; generating a first structured data file including a mapping between the contextual metadata and the location metadata; generating a second structured data file including a mapping between the index metadata and the location metadata; associating each contextual metadatum and each index metadatum with at least one text chunk based on the first structured data file and the second structured data file to generate a plurality of augmented text chunks; and training a neural database based on the augmented text chunks.

## Claims

### Claim 1

A method, comprising:
generating a plurality of text chunks by processing a document, wherein each text chunk of the plurality of text chunks comprises:
a configured portion of the document, and
location metadata associated with the document;
processing, with a machine learning model, a first subset of the plurality of text chunks to extract contextual metadata, wherein the first subset of the plurality of text chunks is determined based on the location metadata and a first content range;
processing, with the machine learning model, a second subset of the plurality of text chunks to extract index metadata, wherein the second subset of the plurality of text chunks is determined based on the location metadata and a second content range;
generating a first structured data file comprising a mapping between the contextual metadata and the location metadata;
generating a second structured data file comprising a mapping between the index metadata and the location metadata;
associating each contextual metadatum of the contextual metadata and each index metadatum of the index metadata with at least one text chunk of the plurality of text chunks based on the first structured data file and the second structured data file to generate a plurality of augmented text chunks; and
training a neural database based on the plurality of augmented text chunks.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
performing, via the neural database, a semantic search of the document based on a search query from a user; and
returning one or more text chunks of the plurality of text chunks based on the semantic search.

### Claim 3 (depends on 2)

The method of claim 2, wherein performing the semantic search of the document comprises:
determining a third subset of the plurality of text chunks by identifying one or more augmented text chunks of the plurality of augmented text chunks, comprising metadata that match the search query, wherein the third subset of the plurality of text chunks corresponds to the identified one or more augmented text chunks; and
performing the semantic search of the third subset of the plurality of text chunks.

### Claim 4 (depends on 1)

The method of claim 1, wherein the machine learning model is a vision large language model (LLM).

### Claim 5 (depends on 4)

The method of claim 4, wherein processing the first subset of the plurality of text chunks comprises:
prompting the vision LLM to:
determine a portion of the document including a table of contents or summary information, and
extract the contextual metadata based on the determined portion of the document including the table of contents or summary information.

### Claim 6 (depends on 4)

The method of claim 4, wherein processing the second subset of the plurality of text chunks comprises:
prompting the vision LLM to:
determine a portion of the document including a list of index keywords, and
extract the index metadata based on the determined portion of the document including the list of index keywords.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first structured data file comprises:
one or more of:
one or more topics; or
one or more summaries; and
corresponding location metadata.

### Claim 8 (depends on 1)

The method of claim 1, wherein the second structured data file comprises one or more keywords indicative of a content distribution in the document.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
determining a plurality of user interactions related to the document;
associating each user interaction of the plurality of user interactions with at least one text chunk of the plurality of text chunks to update the plurality of augmented text chunks; and
training the neural database based on the plurality of updated augmented text chunks.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining a plurality of query success rates related to the document;
associating each query success rate of the plurality of query success rates with at least one text chunk of the plurality of text chunks to update the plurality of augmented text chunks; and
training the neural database based on the plurality of updated augmented text chunks.

### Claim 11

A processing system, comprising: a memory comprising computer-executable instructions; and a processor configured to execute the computer-executable instructions and cause the processing system to:
generate a plurality of text chunks by processing a document, wherein each text chunk of the plurality of text chunks comprises:
a configured portion of the document, and
location metadata associated with the document;
process, with a machine learning model, a first subset of the plurality of text chunks to extract contextual metadata, wherein the first subset of the plurality of text chunks is determined based on the location metadata and a first content range;
process, with the machine learning model, a second subset of the plurality of text chunks to extract index metadata, wherein the second subset of the plurality of text chunks is determined based on the location metadata and a second content range;
generate a first structured data file comprising a mapping between the contextual metadata and the location metadata;
generate a second structured data file comprising a mapping between the index metadata and the location metadata;
associate each contextual metadatum of the contextual metadata and each index metadatum of the index metadata with at least one text chunk of the plurality of text chunks based on the first structured data file and the second structured data file to generate a plurality of augmented text chunks; and
train a neural database based on the plurality of augmented text chunks.

### Claim 12 (depends on 11)

The processing system of claim 11, wherein the processor is further configured to cause the processing system to:
perform, via the neural database, a semantic search of the document based on a search query from a user; and
return one or more text chunks of the plurality of text chunks based on the semantic search.

### Claim 13 (depends on 12)

The processing system of claim 12, wherein to perform the semantic search of the document comprises:
to determine a third subset of the plurality of text chunks by identifying one or more augmented text chunks of the plurality of augmented text chunks, comprising metadata that match the search query, wherein the third subset of the plurality of text chunks correspond to the identified one or more augmented text chunks; and
to perform the semantic search of the third subset of the plurality of text chunks.

### Claim 14 (depends on 11)

The processing system of claim 11, wherein the machine learning model is a vision large language model (LLM).

### Claim 15 (depends on 11)

The processing system of claim 11, wherein the first structured data file comprises:
one or more of:
one or more topics; or
one or more summaries; and
corresponding location metadata.

### Claim 16 (depends on 11)

The processing system of claim 11, wherein the second structured data file comprises one or more keywords indicative of a content distribution in the document.

### Claim 17 (depends on 11)

The processing system of claim 11, wherein the processor is further configured to cause the processing system to:
determine a plurality of user interactions related to the document;
associate each user interaction of the plurality of user interactions with at least one text chunk of the plurality of text chunks to update the plurality of augmented text chunks; and
train the neural database based on the plurality of updated augmented text chunks.

### Claim 18 (depends on 11)

The processing system of claim 11, wherein the processor is further configured to cause the processing system to:
determine a plurality of query success rates related to the document;
associate each query success rate of the plurality of query success rates with at least one text chunk of the plurality of text chunks to update the plurality of augmented text chunks; and
train the neural database based on the plurality of updated augmented text chunks.

### Claim 19

A method, comprising:
receiving, via a user interface, a user query to retrieve information from a document;
processing the user query with a trained neural database to retrieve the information from the document;
receiving, from the trained neural database, an output related to the information from the document; and
sending the output to the user interface,
wherein the trained neural database is trained based on training data generated by:
generating a plurality of text chunks by processing the document, wherein each text chunk of the plurality of text chunks comprises:
a configured portion of the document, and
location metadata associated with the document,
processing, with a machine learning model, a first subset of the plurality of text chunks to extract contextual metadata, wherein the first subset of the plurality of text chunks is determined based on the location metadata and a first content range,
processing, with the machine learning model, a second subset of the plurality of text chunks to extract index metadata, wherein the second subset of the plurality of text chunks is determined based on the location metadata and a second content range,
generating a first structured data file comprising a mapping between the contextual metadata and the location metadata,
generating a second structured data file comprising a mapping between the index metadata and the location metadata, and
associating each contextual metadatum of the contextual metadata and each index metadatum of the index metadata with at least one text chunk of the plurality of text chunks based on the first structured data file and the second structured data file to generate a plurality of augmented text chunks to use as the training data.

### Claim 20 (depends on 19)

The method of claim 19, wherein the machine learning model is a vision large language model (LLM).
