# US 2025/0209101 A1 · AI Assistant That Gives Moderated Responses to Queries

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

- Number: US 2025/0209101 A1
- Document ID: US20250209101A1
- Status: Published application
- Kind: A1
- Application number: 19/000,193
- Filed: 2024-12-23
- Published: 2025-06-26
- Earliest claimed: 2023-12-26
- Assignees: Knostic, Inc.
- Applicants: Knostic, Inc.
- Inventors: Sounil Yu; Eddie Aronovich
- Web page: https://patentgrep.com/patent/US20250209101A1

## CPC

- G06F 16/3347: {using vector based model}
- G06F 16/3329: Natural language query formulation
- G06F 16/335: Filtering based on additional data, e.g. user or group profiles (filtering in web context G06F16/9535, G06F16/9536)
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computerized method for handling queries to an artificial intelligence (AI) assistant in the setting of an organization. The AI assistant comprises a pre-trained large language model (LLM). The AI assistant may access a knowledge repository comprising documents that represent the organization's knowledge base. The AI assistant may access a user profile database that comprises user attributes of users of the AI assistant. The AI assistant receives a query from a user and generates a response to the query with moderation of the response according to the user's ‘need-to-know’. Also disclosed are computerized systems that implement the method of providing a moderated response to the query.

## Claims

### Claim 1

A computer-implemented method for handling queries to an artificial intelligence (AI) assistant in the setting of an organization, the method comprising:
having a knowledge repository comprising documents that represent the organization's knowledge base;
having an AI assistant that comprises a large language model (LLM);
having a user profile database that comprises status attributes of users of the AI assistant;
receiving a query to the AI assistant from a user, wherein the user has status attributes contained in the user profile database;
invoking the LLM with the query and supplemental context to generate an initial response to the query, wherein the supplemental context comprises contextual documents retrieved from the knowledge repository;
generating a moderated response to the query by a moderating process that comprises invoking the LLM with an instruction to restate the initial response with moderating context that comprises the user's status attributes;
giving the moderated response to the user, wherein the moderated response is different from the initial response.

### Claim 2 (depends on 1)

The method of claim 1, wherein the initial response is not given to the user.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
having a vector database comprising document vectors for the documents in the knowledge repository;
converting the query into a query vector;
comparing the query vector to the document vectors in the vector database;
based on the comparison, selecting the contextual documents;
retrieving the contextual documents from the knowledge repository.

### Claim 4 (depends on 1)

The method of claim 1, wherein the moderating process further comprises:
receiving an output response from the LLM;
performing post-processing on the output response to generate the moderated response.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
retrieving user activity documents in the knowledge repository in which the user is a participant;
invoking the LLM with the retrieved user activity documents with an instruction to identify the user's activities therefrom;
wherein the LLM outputs the identified user's activities, and wherein the moderating context further comprises the identified user's activities.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
invoking the LLM with an instruction to identify job objectives of the user from the retrieved user activity documents, wherein the LLM outputs the identified job objectives;
invoking the LLM with an instruction to identify knowledge topics that are relevant to the identified job objectives;
wherein the LLM outputs the identified knowledge topics, and wherein the moderating context further comprises the identified knowledge topics.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
retrieving user activity documents in the knowledge repository in which the user is a participant;
invoking the LLM with the retrieved user activity documents with an instruction to identify the user's interactions therefrom;
wherein the LLM outputs the identified user's interactions, and wherein the moderating context further comprises the identified user's interactions.

### Claim 8 (depends on 1)

The method of claim 1, wherein the moderating context further comprises permission regulations that are relevant to the user, wherein the permission regulations are expressed in natural human language.

### Claim 9 (depends on 5)

The method of claim 5, wherein the retrieved user activity documents include an email or message in which the user is a recipient or sender.

### Claim 10 (depends on 7)

The method of claim 7, wherein the retrieved user activity documents include an email or message in which the user is a recipient or sender.

### Claim 11

A computer-implemented method for handling queries to an artificial intelligence (AI) assistant in the setting of an organization, the method comprising:
having an AI assistant that comprises a large language model (LLM);
having a knowledge repository comprising documents that represent the organization's knowledge base;
having a user profile database that comprises status attributes of users of the AI assistant;
having a permission database that comprises permission regulations that establish different levels of user access to the knowledge repository;
receiving a query to the AI assistant from a user, wherein the user has status attributes contained in the user profile database;
retrieving the user's status attributes from the user profile database;
retrieving permission regulations from the permission database based on the user's status attributes;
creating one or more prompts comprising the query, user's status attributes, and the retrieved permission regulations;
invoking the LLM with the one or more prompts;
generating a moderated response to the query;
giving the moderated response to the user.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
receiving an output response from the LLM;
performing post-processing of the output response to result in the moderated response.

### Claim 13 (depends on 11)

The method of claim 11, further comprising using the query to retrieve contextual documents from the knowledge repository; wherein the one or more prompts further comprises the retrieved contextual documents.

### Claim 14 (depends on 11)

The method of claim 11, wherein the permission regulations are expressed in natural human language.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
retrieving user activity documents in the knowledge repository in which the user is a participant;
invoking the LLM with the retrieved user activity documents with an instruction to identify the user's activities therefrom;
wherein the LLM outputs the identified user's activities, and wherein the one or more prompts further comprises the identified user's activities.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
invoking the LLM with an instruction to identify job objectives of the user from the retrieved user activity documents, wherein the LLM outputs the identified job objectives;
invoking the LLM with an instruction to identify knowledge topics that are relevant to the job objectives;
wherein the LLM outputs the identified knowledge topics, and wherein the one or more prompts further comprises the identified knowledge topics.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
retrieving user activity documents in the knowledge repository in which the user is a participant;
invoking the LLM with the retrieved user activity documents with an instruction to identify the user's interactions therefrom;
wherein the LLM outputs the identified user's interactions; wherein the one or more prompts further comprises the identified user's interactions.

### Claim 18

A computerized system for handling queries to an artificial intelligence (AI) assistant in the setting of an organization, the system comprising:
one or more processors; and
one or more storage memories that hold instructions executable by the processor(s) to perform a process that comprises:
providing an AI assistant that comprises a large language model (LLM);
accessing a knowledge repository comprising documents that represent the organization's knowledge base;
accessing a user profile database that comprises status attributes of users of the AI assistant;
accessing a permission database that comprises permission regulations that establish different levels of user access to the knowledge repository;
receiving a query to the AI assistant from a user, wherein the user has status attributes contained in the user profile database;
retrieving the user's status attributes from the user profile database;
retrieving permission regulations from the permission database based on the user's status attributes;
creating one or more prompts comprising the query, user's status attributes, and the retrieved permission regulations;
invoking the LLM with the one or more prompts;
generating a moderated response to the query;
giving the moderated response to the user.

### Claim 19 (depends on 18)

The computerized system of claim 18, wherein the process further comprises:
retrieving user activity documents in the knowledge repository in which the user is a participant;
invoking the LLM with the retrieved user activity documents with an instruction to identify the user's activities therefrom;
wherein the LLM outputs the identified user's activities, and wherein the one or more prompts further comprises the identified user's activities.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein the process further comprises:
invoking the LLM with an instruction to identify job objectives of the user from the retrieved user activity documents, wherein the LLM outputs the identified job objectives;
invoking the LLM with an instruction to identify knowledge topics that are relevant to the job objectives;
wherein the LLM outputs the identified knowledge topics, and wherein the one or more prompts further comprises the identified knowledge topics.
