/Patent Tracker
AmazonGranted patentAI & softwareInterest 4/10

Amazon patents data tool that refines answers using intermediate checks

Amazon describes a system that turns a user's question into a database search using a machine learning model. It runs an initial search, saves the results, and then runs extra checks on that saved data to add more context before creating a final, more accurate search.

Why it mattersThis approach could make business data tools more accurate by letting them double-check their own work before giving a final answer.

In the filing’s own words

A data analytics service receives a question prompt, wherein the prompt requires one or more database format queries to be executed to determine an answer. The data analytics service uses a generative machine learning model to generate an initial database query, which is then executed on data sources associated with the service to retrieve initial results. The data analytics service stores the results of this query in an intermediate storage location, and subsequently, the data analytics service executes intermediate queries to refine and filter the initial retrieved data. The data analytics service generates an updated database query using context derived from results of the intermediate queries, which is used to determine an updated database format query.

What exactly they claim (claim 1)

1. A system, comprising: one or more computing devices comprising one or more processors configured implement a data analytics service, configured to: receive an original question prompt which requires SQL queries to be performed to be answered; generate, using a generative machine learning model, an initial SQL query to be used in answering the original question prompt; perform the initial SQL query on one or more data sources associated with the data analytics service; store a result of the SQL query to another storage location of the data analytics service; perform one or more intermediate SQL queries on the result of the initial SQL query stored in the other storage location of the data analytics service; modify the original question prompt to produce a modified question prompt, wherein the modifications to the original question prompt are based on at least a portion of the results of the one or more intermediate SQL queries and add context to the original question prompt determined using the results of the one or more intermediate SQL queries; generate, using the generative machine learning model, an updated SQL query to be used in answering the modified question prompt; and generate an answer for the original question prompt by performing the updated SQL query on the one or more data sources associated with the data analytics service.

Facts

Company
Amazon (Amazon Technologies, Inc.)
Official title
Building query context using intermediate queries
Patent number
US12762115B1
Application number
19091479
Filed
Mar 26, 2025
Granted
Oct 13, 2026
Inventors
1
Claims
20

Classified under

G06F 16/2425 Physics & computingG06F 16/24561 Physics & computingG06F 16/24575 Physics & computing

More from Amazon in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.