-
公开(公告)号:US11803541B2
公开(公告)日:2023-10-31
申请号:US17072935
申请日:2020-10-16
Applicant: Salesforce, Inc.
Inventor: Zuye Zheng , Ryoji Osawa , James Diefenderfer , Nadeem Marfani Aboobaker , Praveen Pendey , Sameer Sethi
IPC: G06F16/242 , G06N3/08 , G06F18/213 , G06F18/214
CPC classification number: G06F16/243 , G06F16/2445 , G06F16/2448 , G06F18/213 , G06F18/2155 , G06N3/08
Abstract: Methods, systems, and devices supporting primitive-based query generation are described. A database system may receive a natural language query associated with a subset of data sets stored at the database system, determine a set of tokens included in the natural language query, and label one or more tokens of the set of tokens with one or more primitives from a set of supported primitives associated with the subset of data sets. The database system may determine a set of higher order concepts corresponding to query operations, query conditions, or both based on the one or more labeled tokens. The database system may train a neural network to learn a grammatical structure of the natural language query and generate a database query for querying the database system based on the one or more labeled tokens, the set of higher order concepts, and the neural network.