US 11,841,852 B2
Tenant specific and global pretagging for natural language queries
Guillaume Jean Mathieu Kempf, San Francisco, CA (US); Marc Brette, Montbonnot-Saint-Martin (FR); Francisco Dellatorre Borges, Voorburg (NL); Qianqian Shi, Foster City, CA (US); Matthieu Michel Robin Landos, Grenoble (FR); Darya Brazouskaya, La Tronche (FR); Georgios Balikas, Grenoble (FR); Arvind Srikantan, San Francisco, CA (US); and Mario Sergio Rodriguez, Santa Clara, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by salesforce.com, inc., San Francisco, CA (US)
Filed on Jan. 13, 2021, as Appl. No. 17/147,982.
Claims priority of application No. 20200100683 (GR), filed on Nov. 17, 2020.
Prior Publication US 2022/0156251 A1, May 19, 2022
Int. Cl. G06F 16/00 (2019.01); G06F 16/242 (2019.01); G06F 16/2455 (2019.01); G06F 16/28 (2019.01)
CPC G06F 16/243 (2019.01) [G06F 16/2455 (2019.01); G06F 16/285 (2019.01)] 19 Claims
OG exemplary drawing
 
1. A method for data processing at a database system, comprising:
receiving, via a user interface, a natural language query associated with a tenant of a plurality of tenants supported by the database system, the natural language query being associated with a set of tokens;
tagging, using at least one tenant specific tagging model that is trained on data of the database system and specific to the tenant, at least one first token of the set of tokens with at least one pre-configured data type identifier that is configured for the plurality of tenants, the at least one pre-configured data type identifier corresponding to a data object type of a global data schema of the database system;
tagging, using a global tagging model that supports the plurality of tenants, at least one second token of the set of tokens with at least one category identifier, the global tagging model using the natural language query and the at least one pre-configured data type identifier to identify the at least one category identifier;
generating, using the global tagging model and using the at least one category identifier as input into the global tagging model, a set of semantic query trees, a semantic query tree including a set of nodes that are positioned based at least in part on the at least one pre-configured data type identifier for the at least one first token and the at least one category identifier for the at least one second token; and
executing a database query on a database associated with the tenant using one or more semantic query trees of the set of semantic query trees.