# US 2024/0202539 A1 · Generative artificial intelligence crawling and chunking

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

- Number: US 2024/0202539 A1
- Document ID: US20240202539A1
- Status: Published application
- Kind: A1
- Application number: 18/542,583
- Filed: 2023-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-16
- Assignees: C3.ai, Inc.
- Applicants: C3.ai, Inc.
- Inventors: Louis Poirier; Romain Juban; Sina Pakazad; Yushi Homma; Riyad Muradov; Michael Haines
- Web page: https://patentgrep.com/patent/US20240202539A1

## CPC

- G06F 16/345: {Summarisation for human users}
- G06F 16/3326: {using relevance feedback from the user, e.g. relevance feedback on documents, documents sets, document terms or passages}
- G06F 16/334: Query execution (filtering based on additional data G06F16/335)
- G06F 16/3347: {using vector based model}
- G06F 16/335: Filtering based on additional data, e.g. user or group profiles (filtering in web context G06F16/9535, G06F16/9536)
- G06F 16/338: Presentation of query results
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/092: Reinforcement learning
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06N 3/063: using electronic means
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A plurality of different data domains of an enterprise information environment are scanned. A plurality of data records of multiple enterprise data sources of the different data domains are chunked. The chunking generates one or respective data record segments for each of the plurality of data records. Respective contextual metadata is generated for each of the one or more respective data record segments. Each respective contextual metadata indicates semantic or contextual descriptions of the respective data records segment, and at least one of the respective contextual metadata is capable of facilitating a determination of a relationship between one of the respective data record segments of a particular respective data record and another one the respective data segments of another respective data record. A respective segment embedding is generated for each data record segment based on the respective contextual metadata, and the segment embeddings are stored in an embeddings datastore.

## Claims

### Claim 1

A method comprising:
scanning a plurality of different data domains of an enterprise information environment;
chunking a plurality of data records of multiple enterprise data sources of the plurality of different data domains of the enterprise information environment, the chunking generating one or respective data record segments for each of the plurality of data records;
generating respective contextual metadata for each of the one or more respective data record segments, each respective contextual metadata indicating semantic or contextual descriptions of the respective data records segment, and at least one of the respective contextual metadata being capable of facilitating a determination of a relationship between one of the respective data record segments of a particular respective data record and another one the respective data segments of another respective data record;
generating a respective segment embedding for each data record segment based on the respective contextual metadata; and
storing the segment embeddings in an embeddings datastore.

### Claim 2 (depends on 1)

The method of claim 1, wherein the contextual metadata indicates a particular data domain of the plurality of different data domains of the enterprise information environment.

### Claim 3 (depends on 1)

The method of claim 1, wherein the data records include any of documents, database tables, models, text, images, video, audio, artificial intelligence insights, application outputs, applications, source code, scripts, and compiled source code.

### Claim 4 (depends on 1)

The method of claim 1, wherein the contextual metadata indicates enterprise access control information associated with an enterprise access control system of the enterprise information environment and any of the respective data domains, data records, and data record segments.

### Claim 5 (depends on 1)

The method of claim 1, wherein the respective segment embeddings comprise vectors and the embeddings datastore comprises one or more vector datastores.

### Claim 6 (depends on 1)

The method of claim 1, wherein the contextual metadata is stored in respective headers of the respective segments.

### Claim 7 (depends on 3)

The method of claim 3, wherein each of the segments comprises a respective sub-model of at least one of the models.

### Claim 8 (depends on 7)

The method of claim 7, wherein the models comprise different types of machine learning models.

### Claim 9 (depends on 8)

The method of claim 8, wherein the different types of machine learning models include large language models.

### Claim 10 (depends on 1)

The method of claim 1, wherein the scanning is performed continuously and/or on-demand.

### Claim 11 (depends on 1)

The method of claim 1, wherein the chunking is performed parallel with the scanning, and the chunking is triggered based on one or more scanning operations of the scanning.

### Claim 12 (depends on 1)

The method of claim 1, wherein each of the data records segments are stored in a hierarchical structure of the embeddings datastore.

### Claim 13 (depends on 1)

The method of claim 1, wherein the chunking and segment embedding facilitate one or more information retrieval processes.

### Claim 14 (depends on 13)

The method of claim 13, wherein the one or more information retrieval processes comprises a portion of one or more generative artificial intelligence processes.

### Claim 15 (depends on 1)

The method of claim 1, wherein the chunking is performed by an agent, the segment embeddings are generated by another agent, and information is retrieved from the embeddings store based on the respective embedding by an additional agent, and wherein the agents are supervised by an orchestrator.

### Claim 16 (depends on 1)

The method of claim 1, wherein the plurality of data records are processed by a type system prior to being any of scanned and chunked.

### Claim 17

A system comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the system to perform:
scanning a plurality of different data domains of an enterprise information environment;
chunking a plurality of data records of multiple enterprise data sources of the plurality of different data domains of the enterprise information environment, the chunking generating one or respective data record segments for each of the plurality of data records;
generating respective contextual metadata for each of the one or more respective data record segments, each respective contextual metadata indicating semantic or contextual descriptions of the respective data records segment, and at least one of the respective contextual metadata being capable of facilitating a determination of a relationship between one of the respective data record segments of a particular respective data record and another one the respective data segments of another respective data record;
generating a respective segment embedding for each data record segment based on the respective contextual metadata; and
storing the segment embeddings in an embeddings datastore.

### Claim 18

A non-transitory computer readable medium comprising instructions that, when executed, cause one or more processors to perform:
scanning a plurality of different data domains of an enterprise information environment;
chunking a plurality of data records of multiple enterprise data sources of the plurality of different data domains of the enterprise information environment, the chunking generating one or respective data record segments for each of the plurality of data records;
generating respective contextual metadata for each of the one or more respective data record segments, each respective contextual metadata indicating semantic or contextual descriptions of the respective data records segment, and at least one of the respective contextual metadata being capable of facilitating a determination of a relationship between one of the respective data record segments of a particular respective data record and another one the respective data segments of another respective data record;
generating a respective segment embedding for each data record segment based on the respective contextual metadata; and
storing the segment embeddings in an embeddings datastore.
