Generative AI-based algorithm for improved cache hit performance in text-to-SQL systems
AssigneeOracle International Corporation
InventorLuigi Saetta
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorLuigi Saetta
Estimating the term…
Techniques are disclosed herein for optimizing text-to-SQL systems using generative models to identify structurally equivalent requests in a cache to improve natural language conversion to SQL queries. In one aspect, a method includes: receiving a data request from a user. An embedding model embeds the data request generating a request embedding vector that is used to search a cache comprising stored requests. A candidate request is identified that comprises a curated natural language utterance that is structurally equivalent to the natural language utterance in the data request. The data request and the candidate request are transmitted to a generative model, that determines if the two requests are structurally equivalent and generates an SQL instruction corresponding to the data request using the SQL instruction associated with the candidate request as a template. The SQL instruction, a query result, or both are provided to the user.
A computer implemented method comprising:
A system comprising:
One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.