Invention Grant
- Patent Title: One-shot learning for text-to-SQL
-
Application No.: US16704666Application Date: 2019-12-05
-
Publication No.: US11550783B2Publication Date: 2023-01-10
- Inventor: Dongjun Lee , Jaesik Yoon
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Buckley, Maschoff & Talwalkar LLC
- Main IPC: G06F16/24
- IPC: G06F16/24 ; G06F16/242 ; G06F17/16 ; G06N3/04

Abstract:
Provided is a system and method for detecting a SQL command from a natural language input using neural networks which works even when the SQL command has not been seen before by the neural networks. In one example, the method may include storing a candidate set comprising structured query language (SQL) templates paired with respective text values, reducing, via a first predictive network, the candidate set into a subset of candidates based on a natural language input and the text values included in the candidate set, selecting, via a second predictive network, an SQL template from among the subset of candidates based on the natural language input and text values included in the subset of candidates, and determining a SQL command that corresponds to the natural language input based on the selected SQL template and content from the natural language input.
Public/Granted literature
- US20200334233A1 ONE-SHOT LEARNING FOR TEXT-TO-SQL Public/Granted day:2020-10-22
Information query