TECHNIQUES FOR CONVERTING A NATURAL LANGUAGE UTTERANCE TO AN INTERMEDIATE DATABASE QUERY REPRESENTATION

Techniques are disclosed herein for converting a natural language utterance to an intermediate database query representation. An input string is generated by concatenating a natural language utterance with a database schema representation for a database. Based on the input string, a first encoder ge...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hoang, Cong Duy Vu, Mathur, Nitika, Zaidi, Syed Najam Abbas, Duong, Thanh Long, Johnson, Mark Edward, Kanuga, Aashna Devang, McRitchie, Stephen Andrew, Gadde, Srinivasa Phani Kumar, Arthur, Philip, Siu, Steve Wai-Chun, Vishnoi, Vishal, Subramanian, Shivashankar, Tangari, Gioacchino, Raghavendra, Vasisht, Zaremoodi, Poorya, Broadbent, Christopher Mark
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Techniques are disclosed herein for converting a natural language utterance to an intermediate database query representation. An input string is generated by concatenating a natural language utterance with a database schema representation for a database. Based on the input string, a first encoder generates one or more embeddings of the natural language utterance and the database schema representation. A second encoder encodes relations between elements in the database schema representation and words in the natural language utterance based on the one or more embeddings. A grammar-based decoder generates an intermediate database query representation based on the encoded relations and the one or more embeddings. Based on the intermediate database query representation and an interface specification, a database query is generated in a database query language.