US 12,292,906 B2
Systems and methods for real-time document recommendation
Feifei Jiang, San Mateo, CA (US); Aron Kale, San Francisco, CA (US); Anuprit Kale, Oakland, CA (US); Sitaram Asur, Newark, CA (US); Na Cheng, Yarrow Point, WA (US); Zachary Alexander, Berkeley, CA (US); Victor Yee, Oakland, CA (US); and Fermin Ordaz, San Francisco, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jan. 27, 2023, as Appl. No. 18/160,449.
Prior Publication US 2024/0256581 A1, Aug. 1, 2024
Int. Cl. G06F 16/332 (2019.01); G06F 16/33 (2019.01); G06F 16/3329 (2025.01); G06F 16/334 (2025.01); G06F 40/263 (2020.01)
CPC G06F 16/3329 (2019.01) [G06F 16/3347 (2019.01); G06F 40/263 (2020.01)] 21 Claims
OG exemplary drawing
 
1. A method of document recommendation, the method comprising:
receiving, via a data interface, a set of training data including a plurality of documents;
determining whether the set of training data includes annotated contextual information corresponding to the plurality of documents;
training a document recommendation model using the plurality of documents according to an unsupervised procedure thereby producing a first plurality of vectors respectively representing the plurality of documents;
training the document recommendation model using the plurality of documents, and the annotated contextual information as supervisory labels, thereby producing a second plurality of vectors respectively representing the plurality of documents, when the set of training data includes the annotated contextual information;
receiving a user utterance associated with a conversation;
encoding the user utterance and/or at least part of the conversation into a conversation representation;
determining a plurality of scores by comparing the conversation representation with the first plurality or the second plurality of vectors; and
generating, by a decoder of the document recommendation model, an indication of a recommended document from the plurality of documents based on the plurality of scores.