CPC G06F 16/3329 (2019.01) [G06F 16/3347 (2019.01); G06F 40/263 (2020.01)] | 21 Claims |
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.
|