# US 2026/0087374 A1 · Executing queries in computing systems using generative artificial intelligence models and keyword-based problem solving

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

- Number: US 2026/0087374 A1
- Document ID: US20260087374A1
- Status: Published application
- Kind: A1
- Application number: 18/892,024
- Filed: 2024-09-20
- Published: 2026-03-26
- Earliest claimed: 2024-09-20
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Amr Mamoun MARTINI; Arvind Vardarajan SANTHANAM; Swagarika Jaharlal GIRI; Christopher LOTT
- Web page: https://patentgrep.com/patent/US20260087374A1

## CPC

- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F 16/908: using metadata automatically derived from the content
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Certain aspects provide techniques and apparatus for executing queries in a computing system using machine learning models. An example method generally includes receiving a plan to satisfy a request in the computing system and event log data associated with execution of the plan. The plan generally specifies a first plurality of function calls at a first level of granularity. Using a plan refinement machine learning model, a refined plan is generated when the event log data indicates that execution of the generated plan results in one or more execution errors and the one or more execution errors are solvable. Generally, the refined plan specifies a second plurality of function calls at a second level of granularity, the second level of granularity being finer than the first level of granularity.

## Claims

### Claim 1

A processing system for executing queries on a device using machine learning models, comprising:
at least one memory having executable instructions stored thereon; and
one or more processors configured to execute the executable instructions to cause the processing system to:
receive a query for processing;
generate, using a keyword generation machine learning model and based on the received query, one or more keywords related to the received query;
identify, based on the generated keywords, one or more candidate application programming interface (API) calls for satisfying the received query;
identify a solution based on parameters associated with the received query and the identified one or more candidate API calls; and
execute the identified solution to satisfy the received query.

### Claim 2 (depends on 1)

The processing system of claim 1, wherein the identified solution includes a set of API calls from the one or more candidate API calls and a sequence in which API calls in the set of API calls are to be invoked.

### Claim 3 (depends on 1)

The processing system of claim 1, wherein the identified solution includes a set of API calls and input parameters for each API call in the set of API calls.

### Claim 4 (depends on 1)

The processing system of claim 1, wherein the keyword generation machine learning model comprises a Monte Carlo tree model trained based on maximizing a number of constraints derived from the query that are satisfied by an output of the Monte Carlo tree model.

### Claim 5 (depends on 1)

The processing system of claim 1, wherein to identify the solution, the one or more processors are configured to cause the processing system to identify actions executable by a generative-artificial-intelligence-model-based assistant based on a mapping of each of a plurality of solutions to corresponding actions executable by the generative-artificial-intelligence-model-based assistant.

### Claim 6 (depends on 1)

The processing system of claim 1, wherein the one or more processors are further configured to cause the processing system to:
receive user feedback relating to the identified solution for satisfying the received query; and
refine the keyword generation machine learning model based on the received user feedback.

### Claim 7 (depends on 1)

The processing system of claim 1, wherein the one or more processors are further configured to cause the processing system to refine the keyword generation machine learning model based on user profile information.

### Claim 8 (depends on 7)

The processing system of claim 7, wherein the user profile information comprises at least one of static information derived from user data or dynamic information derived from state information associated with a computing system.

### Claim 9 (depends on 1)

The processing system of claim 1, wherein the keyword generation machine learning model comprises a local generative machine learning model executing on the device.

### Claim 10 (depends on 1)

The processing system of claim 1, wherein the one or more processors are further configured to cause the processing system to refine the keyword generation machine learning model based on results of executing API calls for different sets of keywords generated by the keyword generation machine learning model.

### Claim 11

A processor-implemented method for executing queries on a device using machine learning models, comprising:
receiving a query for processing;
generating, using a keyword generation machine learning model and based on the received query, one or more keywords related to the received query;
identifying, based on the generated keywords, one or more candidate application programming interface (API) calls for satisfying the received query;
identifying a solution based on parameters associated with the received query and the identified one or more candidate API calls; and
executing the identified solution to satisfy the received query.

### Claim 12 (depends on 11)

The method of claim 11, wherein the identified solution includes a set of API calls from the one or more candidate API calls and a sequence in which API calls in the set of API calls are to be invoked.

### Claim 13 (depends on 11)

The method of claim 11, wherein the identified solution includes a set of API calls and input parameters for each API call in the set of API calls.

### Claim 14 (depends on 11)

The method of claim 11, wherein the keyword generation machine learning model comprises a Monte Carlo tree model trained based on maximizing a number of constraints derived from the query that are satisfied by an output of the Monte Carlo tree model.

### Claim 15 (depends on 11)

The method of claim 11, wherein identifying the solution comprises identifying actions executable by a generative-artificial-intelligence-model-based assistant based on a mapping of each of a plurality of solutions to corresponding actions executable by the generative-artificial-intelligence-model-based assistant.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
receiving user feedback relating to the identified solution for satisfying the received query; and
refining the keyword generation machine learning model based on the received user feedback.

### Claim 17 (depends on 11)

The method of claim 11, further comprising refining the keyword generation machine learning model based on user profile information.

### Claim 18 (depends on 17)

The method of claim 17, wherein the user profile information comprises at least one of static information derived from user data or dynamic information derived from state information associated with a computing system.

### Claim 19 (depends on 11)

The method of claim 11, further comprising refining the keyword generation machine learning model based on results of executing API calls for different sets of keywords generated by the keyword generation machine learning model.

### Claim 20

A non-transitory computer-readable medium having executable instructions stored thereon which, when executed by one or more processors, performs an operation for executing queries on a device using machine learning models, the operation comprising:
receiving a query for processing;
generating, using a keyword generation machine learning model and based on the received query, one or more keywords related to the received query;
identifying, based on the generated keywords, one or more candidate application programming interface (API) calls for satisfying the received query;
identifying a solution based on parameters associated with the received query and the identified one or more candidate API calls; and
executing the identified solution to satisfy the received query.
