-
公开(公告)号:US20220121656A1
公开(公告)日:2022-04-21
申请号:US17072935
申请日:2020-10-16
Applicant: salesforce.com, Inc.
Inventor: Zuye Zheng , Ryoji Osawa , James Diefenderfer , Nadeem Marfani Aboobaker , Praveen Pandey , Sameer Sethi
IPC: G06F16/242 , G06N3/08 , G06K9/62
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.