# US 2026/0064722 A1 · Topic Maps For Constrained Retrieval Augmented Generation

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

- Number: US 2026/0064722 A1
- Document ID: US20260064722A1
- Status: Published application
- Kind: A1
- Application number: 18/891,244
- Filed: 2024-09-20
- Published: 2026-03-05
- Earliest claimed: 2024-08-30
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Jean-Francois Verrier
- Web page: https://patentgrep.com/patent/US20260064722A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 16/24578: {using ranking}
- G06F 16/3329: Natural language query formulation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Current generative AI systems using large language models (LLMs) face challenges including non-deterministic outputs, hallucinations, outdated information, and resource-intensive training. This disclosure introduces topic maps for constrained retrieval augmented generation to address these issues. The technique leverages existing LLMs while constraining outputs to specific, user-defined content domains. Topic maps, composed of topic names, descriptions, and relevant resource references, create a curated knowledge base that guides agent responses. This approach reduces hallucinations, improves consistency, and allows for dynamic updates without model retraining. The method involves receiving a query, identifying relevant topic maps, transmitting the query and references to an AI agent, and generating constrained responses. By providing a structured, updatable knowledge framework, this method enhances the accuracy, reliability, and adaptability of generative AI systems.

## Claims

### Claim 1

One or more non-transitory computer-readable media comprising computer-executable instructions that, when executed by one or more hardware processors, causes one or more electronic computing devices to perform:
receiving a first query;
identifying, from among a set of topic maps for a set of one or more target datasets, a subset of one or more topic maps; wherein each topic map of the subset of one or more topic maps indicates a respective topic of the set of one or more target datasets and a respective plurality of references to a respective plurality of content items of the one or more target datasets that are relevant to the respective topic;
generating a hallucination reduced response from a generative artificial intelligence agent comprising a large language model, wherein generating the hallucination reduced response comprises:
generating a prompt for the large language model, wherein the prompt comprises:
a second query; wherein the second query is the first query or is generated based on the first query;
the respective plurality of references to the respective plurality of content items of each topic map of the subset of one or more topic maps; and
instructions for the generative artificial intelligence agent to generate an answer to the second query using information from the content items referred to be the respective plurality of references;
transmitting the prompt to the generative artificial intelligence agent;
receiving a set of one or more results for the second query; and
storing the set of one or more results for the second query.

### Claim 2 (depends on 1)

The one or more non-transitory computer-readable media of claim 1, wherein identifying the subset of one or more topic maps comprises:
generating a vector representation of the second query;
comparing the vector representation of the second query to one or more respective vector representations of each topic map in the subset of one or more topic maps; and
selecting the subset of one or more topic maps based on one or more similarity measures for the vector representation of the second query and the one or more respective vector representations of each topic map in the subset of one or more topic maps.

### Claim 3 (depends on 1)

The one or more non-transitory computer-readable media of claim 1, wherein the set of topic maps is generated by performing:
analyzing content of the set of one or more target datasets to identify a plurality of topics;
for each topic of the plurality of topics:
generating a topic description based on content items in the set of one or more target datasets that are relevant to the topic;
identifying a set of references to content items in the set of one or more target datasets that are relevant to the topic; and
creating a topic map comprising the topic, the topic description, and the set of references; and
wherein the set of topic maps comprises the topic maps created for the plurality of topics.

### Claim 4 (depends on 1)

The one or more non-transitory computer-readable media of claim 1, wherein:
each topic map of the subset of one or more topic maps comprises, for each reference of the respective plurality of references to the respective plurality of content items, a corresponding relevance score indicating a degree of relevance of the referenced content item to the respective topic of the topic map;
transmitting the prompt to the generative artificial intelligence agent comprises transmitting the corresponding relevance scores associated with the respective plurality of references; and
the computer-executable instructions, when executed, further cause the one or more electronic computing devices to perform:
instructing the generative artificial intelligence agent to consider the corresponding relevance scores when generating the answer to the second query.

### Claim 5 (depends on 1)

The one or more non-transitory computer-readable media of claim 1, wherein the instructions for the generative artificial intelligence agent to generate the answer to the second query use only information from the content items referred to by the respective plurality of references.

### Claim 6 (depends on 1)

The one or more non-transitory computer-readable media of claim 1, wherein the instructions for the generative artificial intelligence agent to generate the answer to the second query use mostly information from the content items referred to by the respective plurality of references.

### Claim 7 (depends on 1)

The one or more non-transitory computer-readable media of claim 1, wherein:
each topic map of the subset of one or more topic maps comprises, for each reference of the respective plurality of references to the respective plurality of content items, a corresponding content item summary;
the computer-executable instructions, when executed, further cause the one or more electronic computing devices to perform:
transmitting the respective plurality of content item summaries of the respective plurality of content items of each topic map of the subset of one or more topic maps to the generative artificial intelligence agent; and
instructing the generative artificial intelligence agent to use the respective plurality of content item summaries to generate an answer to the second query.

### Claim 8

A method comprising:
receiving a first query;
identifying, from among a set of topic maps for a set of one or more target datasets, a subset of one or more topic maps; wherein each topic map of the subset of one or more topic maps indicates a respective topic of the set of one or more target datasets and a respective plurality of references to a respective plurality of content items of the one or more target datasets that are relevant to the respective topic;
generating a hallucination reduced response from a generative artificial intelligence agent comprising a large language model, wherein generating the hallucination reduced response comprises:
generating a prompt for the large language model, wherein the prompt comprises:
a second query; wherein the second query is the first query or is generated based on the first query;
the respective plurality of references to the respective plurality of content items of each topic map of the subset of one or more topic maps; and
instructions for the generative artificial intelligence agent to generate an answer to the second query using information from the content items referred to be the respective plurality of references;
transmitting the prompt to the generative artificial intelligence agent;
receiving a set of one or more results for the second query; and
storing the set of one or more results for the second query.

### Claim 9 (depends on 8)

The method of claim 8, wherein identifying the subset of one or more topic maps comprises:
generating a vector representation of the second query;
comparing the vector representation of the second query to one or more respective vector representations of each topic map in the subset of one or more topic maps; and
selecting the subset of one or more topic maps based on one or more similarity measures for the vector representation of the second query and the one or more respective vector representations of each topic map in the subset of one or more topic maps.

### Claim 10 (depends on 8)

The method of claim 8, wherein the set of topic maps is generated by performing:
analyzing content of the set of one or more target datasets to identify a plurality of topics;
for each topic of the plurality of topics:
generating a topic description based on content items in the set of one or more target datasets that are relevant to the topic;
identifying a set of references to content items in the set of one or more target datasets that are relevant to the topic; and
creating a topic map comprising the topic, the topic description, and the set of references; and
wherein the set of topic maps comprises the topic maps created for the plurality of topics.

### Claim 11 (depends on 8)

The method of claim 8, wherein:
each topic map of the subset of one or more topic maps comprises, for each reference of the respective plurality of references to the respective plurality of content items, a corresponding relevance score indicating a degree of relevance of the referenced content item to the respective topic of the topic map;
transmitting the prompt to the generative artificial intelligence agent comprises transmitting the corresponding relevance scores associated with the respective plurality of references; and
the method further comprises:
instructing the generative artificial intelligence agent to consider the corresponding relevance scores when generating the answer to the second query.

### Claim 12 (depends on 8)

The method of claim 8, wherein the instructions for the generative artificial intelligence agent to generate the answer to the second query use only information from the content items referred to by the respective plurality of references.

### Claim 13 (depends on 8)

The method of claim 8, wherein the instructions for the generative artificial intelligence agent to generate the answer to the second query use mostly information from the content items referred to by the respective plurality of references.

### Claim 14 (depends on 8)

The method of claim 8, wherein:
each topic map of the subset of one or more topic maps comprises, for each reference of the respective plurality of references to the respective plurality of content items, a corresponding content item summary;
the method further comprises:
transmitting the respective plurality of content item summaries of the respective plurality of content items of each topic map of the subset of one or more topic maps to the generative artificial intelligence agent; and
instructing the generative artificial intelligence agent to use the respective plurality of content item summaries to generate an answer to the second query.

### Claim 15

A system comprising:
one or more hardware processors; and
computer-executable instructions stored in one or more non-transitory computer-readable media that, when executed by the one or more hardware processors, causes the system to perform:
receiving a first query;
identifying, from among a set of topic maps for a set of one or more target datasets, a subset of one or more topic maps; wherein each topic map of the subset of one or more topic maps indicates a respective topic of the set of one or more target datasets and a respective plurality of references to a respective plurality of content items of the one or more target datasets that are relevant to the respective topic;
generating a hallucination reduced response from a generative artificial intelligence agent comprising a large language model, wherein generating the hallucination reduced response comprises:
generating a prompt for the large language model, wherein the prompt comprises:
a second query; wherein the second query is the first query or is generated based on the first query;
the respective plurality of references to the respective plurality of content items of each topic map of the subset of one or more topic maps; and
instructions for the generative artificial intelligence agent to generate an answer to the second query using information from the content items referred to be the respective plurality of references;
transmitting the prompt to the generative artificial intelligence agent;
receiving a set of one or more results for the second query; and
storing the set of one or more results for the second query.

### Claim 16 (depends on 15)

The system of claim 15, wherein identifying the subset of one or more topic maps comprises:
generating a vector representation of the second query;
comparing the vector representation of the second query to one or more respective vector representations of each topic map in the subset of one or more topic maps; and
selecting the subset of one or more topic maps based on one or more similarity measures for the vector representation of the second query and the one or more respective vector representations of each topic map in the subset of one or more topic maps.

### Claim 17 (depends on 15)

The system of claim 15, wherein the set of topic maps is generated by performing:
analyzing content of the set of one or more target datasets to identify a plurality of topics;
for each topic of the plurality of topics:
generating a topic description based on content items in the set of one or more target datasets that are relevant to the topic;
identifying a set of references to content items in the set of one or more target datasets that are relevant to the topic; and
creating a topic map comprising the topic, the topic description, and the set of references; and
wherein the set of topic maps comprises the topic maps created for the plurality of topics.

### Claim 18 (depends on 15)

The system of claim 15, wherein:
each topic map of the subset of topic maps comprises, for each reference of the respective plurality of references to the respective plurality of content items, a corresponding relevance score indicating a degree of relevance of the referenced content item to the respective topic of the topic map;
transmitting the prompt to the generative artificial intelligence agent comprises transmitting the corresponding relevance scores associated with the respective plurality of references; and
the computer-executable instructions, when executed, further cause the system to perform:
instructing the generative artificial intelligence agent to consider the corresponding relevance scores when generating the answer to the second query.

### Claim 19 (depends on 15)

The system of claim 15, wherein the instructions for the generative artificial intelligence agent to generate the answer to the second query use only information from the content items referred to by the respective plurality of references.

### Claim 20 (depends on 15)

The system of claim 15, wherein the instructions for the generative artificial intelligence agent to generate the answer to the second query use mostly information from the content items referred to by the respective plurality of references.
