# US 2025/0094466 A1 · Storage and retrieval mechanisms for knowledge artifacts acquired and applicable across conversations

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

- Number: US 2025/0094466 A1
- Document ID: US20250094466A1
- Status: Published application
- Kind: A1
- Application number: 18/830,344
- Filed: 2024-09-10
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Raman Grover; Amitabh Saikia
- Web page: https://patentgrep.com/patent/US20250094466A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/3329: Natural language query formulation
- G06F 16/383: using metadata automatically derived from the content
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed for storage and retrieval mechanisms for knowledge artifacts acquired and applicable across conversations to enrich user interactions with a digital assistant. In one aspect, a method includes receiving a natural language utterance form a user during a session between the user and the digital assistant and obtaining a topic context instance for the utterance. The obtaining includes executing a search, determining whether the utterance satisfies a threshold of similarity with one or more topics, identifying the topic context instance associated with the topics, and associating the utterance with the topic context instance. A first generative artificial intelligence model can then be used to generate a list of executable actions. An execution plan is then created, and the topic context instances is updated with the execution plan. The execution plan is then executed, and an output or communication derived from the output is sent to the user.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, at a digital assistant, a natural language utterance from a user during a session between the user and the digital assistant;
obtaining a topic context instance for the natural language utterance, wherein the obtaining comprises:
executing, based on the natural language utterance, a search on a current session context instance, a data store, or both,
based on the search, determining whether the natural language utterance satisfies a threshold level of similarity with one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the natural language utterance satisfies the threshold level of similarity with the one or more topics, identifying the topic context instance associated with the one or more topics, and
associating the natural language utterance with the topic context instance;
generating, by a first generative artificial intelligence model, a list comprising one or more executable actions based on one or more candidate actions associated with the topic context instance;
creating, based on the list, an execution plan comprising the one or more executable actions;
generating an updated topic context instance by updating the topic context instance to include the execution plan;
executing the execution plan based on the updated topic context instance, wherein the executing comprises executing the executable action using an asset to obtain an output; and
sending the output or a communication derived from the output to the user.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein generating the list comprises selecting the one or more executable actions from the one or more candidate actions based on each of the one or more executable actions satisfying a threshold level of similarity with the natural language utterance and context within the topic context instance.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1 further comprising:
responsive to a user logging into an application associated with the digital assistant, creating the current session context instance for the session,
wherein the current session context instance comprises prior natural language utterances from the user during the session between the user and the digital assistant, and wherein each of the prior natural language utterances (a) is resolved and associated with the topic context instance or other topic context instance associated with the current session context instance or (b) is unresolved and associated with a tentative topic context instance.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein:
the digital assistant is configured to handle a plurality of actions associated with a plurality of topics including the one or more topics;
the topic context instance is specific to the one or more topics and is associated one or more actions of the plurality of actions; and
determining whether the natural language utterance satisfies the threshold level of similarity with the one or more topics is a function of similarity between the natural language utterance and the associated one or more actions.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving, at the digital assistant, a subsequent natural language utterance from the user during the session between the user and the digital assistant;
obtaining a tentative topic context instance for the subsequent natural language utterance, wherein the obtaining comprises:
executing, based on the subsequent natural language utterance, a search on the current session context instance, the data store, or both,
based on the search, determining the subsequent natural language utterance does not satisfy the threshold level of similarity with one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the subsequent natural language utterance does not satisfy the threshold level of similarity with the one or more topics, creating the tentative topic context instance associated with the current session context instance, and
associating the subsequent natural language utterance with the tentative topic context instance.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
receiving, at the digital assistant, another subsequent natural language utterance from the user during the session between the user and the digital assistant;
obtaining the topic context instance for the another subsequent natural language utterance, wherein the obtaining comprises:
executing, based on the another subsequent natural language utterance, a search on the current session context instance, the data store, or both,
based on the search, determining the another subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the another subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics, identifying the same or different topic context instance associated with the same or different one or more topics, and
associating the another subsequent natural language utterance with the same or different topic context instance.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising:
responsive to receiving the another subsequent natural language utterance from the user, reevaluating the subsequent natural language utterance associated with the tentative topic context instance, wherein the reevaluating comprises:
executing, based on the subsequent natural language utterance, a search on the current session context instance, the data store, or both,
based on the search, determining the subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics, identifying the same or different topic context instance associated with the same or different one or more topics, and
associating the subsequent natural language utterance with the same or different topic context instance.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein:
the natural language utterance references a prior conversation between the user and the digital assistant;
obtaining the topic context instance for the natural language utterance further comprises:
based on the reference to the prior conversation and the search, identifying a past topic context instance associated with the same or different one or more topics, and
linking, using a virtual pointer, the topic context instance with the past topic context instance; and
the one or more executable actions are selected from the one or more candidate actions based on each of the one or more executable actions satisfying the threshold level of similarity with the natural language utterance, the context within the topic context instance, and additional context within the past topic context instance.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein:
responsive to determining the natural language utterance satisfies the threshold level of similarity with the one or more topics, identifying multiple topic context instances associated with the current session context instance and associated with the one or more topics; and
obtaining the topic context instance for the natural language utterance further comprises merging the multiple topic context instances to create the topic context instance as a composite of the multiple topic context instances.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein:
the context within the topic context instance includes a conversation history between the user and the digital assistant;
context within each of the multiple topic context instances includes additional conversation history between the user and the digital assistant; and
merging the multiple topic context instances includes concatenating the conversation history with each of the additional conversation histories.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein:
the one or more candidate actions are identified as being associated with the topic context instance by executing, using the natural language utterance, a semantic search of potential actions represented in the data store that are associated with the digital assistant;
the potential actions have a zero confidence level for satisfying the threshold level of similarity with the natural language utterance and the context within the topic context instance;
the one or more candidate actions have a positive confidence level for satisfying the threshold level of similarity with the natural language utterance and the context within the topic context instance, and
the one or more executable actions have a positive confidence level and do satisfy the threshold level of similarity with the natural language utterance and the context within the topic context instance, based on which the the first generative artificial intelligence model predicts that the one or more executable actions are relevant for responding to the natural language utterance with a high confidence level.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, further comprising:
constructing, based on the topic context instance, an input prompt comprising the one or more candidate actions, at least a portion of the context associated with the topic context instance, and the natural language utterance; and
providing the input prompt to the first generative artificial intelligence model, wherein the first generative artificial intelligence model generates the list comprising the executable action based on the input prompt.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, further comprising:
executing, based on the one or more candidate actions, a search on user-preferences in the data store to identify one or more user-preferences that are relevant to the one or more candidate actions, wherein the creating the execution plan comprises embedding the one or more user-preferences into the execution plan.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein:
the context within the topic context instance includes a conversation history between the user and the digital assistant; and
the current session context instance is associated with the topic context instance and one or more other topic context instances, each of the one or more other topic context instances includes additional conversation history between the user and the digital assistant.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
generating a summary of the conversation history and the additional conversation history between the user and the digital assistant;
revising the current session context instance to include the summary of the conversation history; and
computing performance metrics for the digital assistant based on the revised current session context instance.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, further comprising:
constructing, based on the output and the topic context instance, an input prompt comprising the output, at least a portion of the context associated with the topic context instance, and the natural language utterance;
providing the input prompt to a second generative artificial intelligence model; and
generating, by the second generative artificial intelligence model, a response to the natural language utterance based on the input prompt, wherein the response is the communication derived from the output.

### Claim 17

A system comprising:
one or more processing systems; and
one or more computer-readable media storing instructions which, when executed by the one or more processing systems, cause the system to perform operations comprising:
receiving, at a digital assistant, a natural language utterance from a user during a session between the user and the digital assistant;
obtaining a topic context instance for the natural language utterance, wherein the obtaining comprises:
executing, based on the natural language utterance, a search on a current session context instance, a data store, or both,
based on the search, determining whether the natural language utterance satisfies a threshold level of similarity with one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the natural language utterance satisfies the threshold level of similarity with the one or more topics, identifying the topic context instance associated with the one or more topics, and
associating the natural language utterance with the topic context instance;
generating, by a first generative artificial intelligence model, a list comprising one or more executable actions based on one or more candidate actions associated with the topic context instance;
creating, based on the list, an execution plan comprising the one or more executable actions;
generating an updated topic context instance by updating the topic context instance to include the execution plan;
executing the execution plan based on the updated topic context instance, wherein the executing comprises executing the executable action using an asset to obtain an output; and
sending the output or a communication derived from the output to the user.

### Claim 18 (depends on 17)

The system of claim 17, wherein generating the list comprises selecting the one or more executable actions from the one or more candidate actions based on each of the one or more executable actions satisfying a threshold level of similarity with the natural language utterance and context within the topic context instance.

### Claim 19 (depends on 17)

The system of claim 17, wherein the operations further comprise:
responsive to a user logging into an application associated with the digital assistant, creating the current session context instance for the session,
wherein the current session context instance comprises prior natural language utterances from the user during the session between the user and the digital assistant, and wherein each of the prior natural language utterances (a) is resolved and associated with the topic context instance or other topic context instance associated with the current session context instance or (b) is unresolved and associated with a tentative topic context instance.

### Claim 20 (depends on 17)

The system of claim 17, wherein:
the digital assistant is configured to handle a plurality of actions associated with a plurality of topics including the one or more topics;
the topic context instance is specific to the one or more topics and is associated one or more actions of the plurality of actions; and
determining whether the natural language utterance satisfies the threshold level of similarity with the one or more topics is a function of similarity between the natural language utterance and the associated one or more actions.

### Claim 21 (depends on 17)

The system of claim 17, wherein the operations further comprise:
receiving, at the digital assistant, a subsequent natural language utterance from the user during the session between the user and the digital assistant;
obtaining a tentative topic context instance for the subsequent natural language utterance, wherein the obtaining comprises:
executing, based on the subsequent natural language utterance, a search on the current session context instance, the data store, or both,
based on the search, determining the subsequent natural language utterance does not satisfy the threshold level of similarity with one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the subsequent natural language utterance does not satisfy the threshold level of similarity with the one or more topics, creating the tentative topic context instance associated with the current session context instance, and
associating the subsequent natural language utterance with the tentative topic context instance.

### Claim 22 (depends on 21)

The system of claim 21, wherein the operations further comprise:
receiving, at the digital assistant, another subsequent natural language utterance from the user during the session between the user and the digital assistant;
obtaining the topic context instance for the another subsequent natural language utterance, wherein the obtaining comprises:
executing, based on the another subsequent natural language utterance, a search on the current session context instance, the data store, or both,
based on the search, determining the another subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the another subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics, identifying the same or different topic context instance associated with the same or different one or more topics, and
associating the another subsequent natural language utterance with the same or different topic context instance.

### Claim 23 (depends on 22)

The system of claim 22, wherein the operations further comprise:
responsive to receiving the another subsequent natural language utterance from the user, reevaluating the subsequent natural language utterance associated with the tentative topic context instance, wherein the reevaluating comprises:
executing, based on the subsequent natural language utterance, a search on the current session context instance, the data store, or both,
based on the search, determining the subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the subsequent natural language utterance satisfies the threshold level of similarity with the same or different one or more topics, identifying the same or different topic context instance associated with the same or different one or more topics, and
associating the subsequent natural language utterance with the same or different topic context instance.

### Claim 24 (depends on 17)

The system of claim 17, wherein:
the natural language utterance references a prior conversation between the user and the digital assistant;
obtaining the topic context instance for the natural language utterance further comprises:
based on the reference to the prior conversation and the search, identifying a past topic context instance associated with the same or different one or more topics, and
linking, using a virtual pointer, the topic context instance with the past topic context instance; and
the one or more executable actions are selected from the one or more candidate actions based on each of the one or more executable actions satisfying the threshold level of similarity with the natural language utterance, the context within the topic context instance, and additional context within the past topic context instance.

### Claim 25 (depends on 17)

The system of claim 17, wherein:
responsive to determining the natural language utterance satisfies the threshold level of similarity with the one or more topics, identifying multiple topic context instances associated with the current session context instance and associated with the one or more topics; and
obtaining the topic context instance for the natural language utterance further comprises merging the multiple topic context instances to create the topic context instance as a composite of the multiple topic context instances.

### Claim 26 (depends on 25)

The system of claim 25, wherein:
the context within the topic context instance includes a conversation history between the user and the digital assistant;
context within each of the multiple topic context instances includes additional conversation history between the user and the digital assistant; and
merging the multiple topic context instances includes concatenating the conversation history with each of the additional conversation histories.

### Claim 27

One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause a system to perform operations comprising:
receiving, at a digital assistant, a natural language utterance from a user during a session between the user and the digital assistant;
obtaining a topic context instance for the natural language utterance, wherein the obtaining comprises:
executing, based on the natural language utterance, a search on a current session context instance, a data store, or both,
based on the search, determining whether the natural language utterance satisfies a threshold level of similarity with one or more topics represented in the current session context instance, the data store, or both,
responsive to determining the natural language utterance satisfies the threshold level of similarity with the one or more topics, identifying the topic context instance associated with the one or more topics, and
associating the natural language utterance with the topic context instance;
generating, by a first generative artificial intelligence model, a list comprising one or more executable actions based on one or more candidate actions associated with the topic context instance;
creating, based on the list, an execution plan comprising the one or more executable actions;
generating an updated topic context instance by updating the topic context instance to include the execution plan;
executing the execution plan based on the updated topic context instance, wherein the executing comprises executing the executable action using an asset to obtain an output; and
sending the output or a communication derived from the output to the user.

### Claim 28 (depends on 27)

The one or more non-transitory computer-readable media of claim 27, wherein generating the list comprises selecting the one or more executable actions from the one or more candidate actions based on each of the one or more executable actions satisfying a threshold level of similarity with the natural language utterance and context within the topic context instance.

### Claim 29 (depends on 27)

The one or more non-transitory computer-readable media of claim 27, wherein the operations further comprise:
responsive to a user logging into an application associated with the digital assistant, creating the current session context instance for the session,
wherein the current session context instance comprises prior natural language utterances from the user during the session between the user and the digital assistant, and wherein each of the prior natural language utterances (a) is resolved and associated with the topic context instance or other topic context instance associated with the current session context instance or (b) is unresolved and associated with a tentative topic context instance.

### Claim 30 (depends on 27)

The one or more non-transitory computer-readable media of claim 27, wherein:
the digital assistant is configured to handle a plurality of actions associated with a plurality of topics including the one or more topics;
the topic context instance is specific to the one or more topics and is associated one or more actions of the plurality of actions; and
determining whether the natural language utterance satisfies the threshold level of similarity with the one or more topics is a function of similarity between the natural language utterance and the associated one or more actions.
