Automated generation of pairs of natural language questions and database queries
AssigneePalo Alto Networks, Inc.
InventorsSujit Rokka Chhetri, William Redington Hewlett, II, Sheng Yang, Gaurav Mitesh Dalal
Life of this patent
Estimating the term…
Loading patent…
AssigneePalo Alto Networks, Inc.
InventorsSujit Rokka Chhetri, William Redington Hewlett, II, Sheng Yang, Gaurav Mitesh Dalal
Estimating the term…
A pipeline performs automated generation of database queries for a database and corresponding questions comprising natural language text. The pipeline generates database query templates based at least partly on a schema of the database and populates the query templates based on values identified from the records sampled from the database to generate valid database queries. The pipeline then generates abstract representations of each of the generated database queries and, for each abstracted database query, prompts a language model to generate a corresponding question in natural language. The pipeline prompts another language model to evaluate similarity of each abstracted database query and corresponding natural language question. The natural language questions and database queries associated with the corresponding abstractions that are sufficiently similar are provided for use.
A method comprising:
One or more non-transitory machine-readable media having program code stored thereon, the program code comprising instructions to:
An apparatus comprising:
Dependencies are inferred from the claim text.