Suggesting resources using context hashing
First Claim
1. A computer-implemented method for presenting information about a resource to a user, the method performed by one or more server computers and comprising:
- receiving a plurality of electronic messages during a session between a first computing device of a first user and a second computing device of a second user;
computing a message embedding for each message of the plurality of electronic messages with a first neural network, wherein each message embedding represents a corresponding message in a vector space;
computing a first context vector by sequentially processing the message embeddings for the plurality of electronic messages, wherein the processing is performed using a second neural network;
quantizing the first context vector to obtain a first context hash vector;
selecting a first resource from a data store using the first context hash vector and a hash vector for the first resource, wherein (i) the data store comprises a plurality of resources, (ii) each resource of the plurality of resources is associated with a hash vector, (iii) selecting the first resource comprises computing a distance between the first context hash vector and the hash vector for the first resource; and
transmitting, during the session, information about the first resource to the first computing device to allow the first user to access the first resource.
1 Assignment
0 Petitions
Accused Products
Abstract
A first user and a second user may exchange messages during a session and the exchanged messages may be processed to suggest resources to the first user. For example, the first user may be a customer service representative assisting a customer, and the suggested resources may include text of a message to send to the customer. The resources may be suggested by computing a semantic representation of the messages in the session, computing a context vector that describes a context of the session, computing a context hash vector from the context vector, and retrieving one or more resources from a data store of resources using the context hash vector. Information about a resource may be presented to the first user to assist the first user in responding to the second user.
61 Citations
20 Claims
-
1. A computer-implemented method for presenting information about a resource to a user, the method performed by one or more server computers and comprising:
-
receiving a plurality of electronic messages during a session between a first computing device of a first user and a second computing device of a second user; computing a message embedding for each message of the plurality of electronic messages with a first neural network, wherein each message embedding represents a corresponding message in a vector space; computing a first context vector by sequentially processing the message embeddings for the plurality of electronic messages, wherein the processing is performed using a second neural network; quantizing the first context vector to obtain a first context hash vector; selecting a first resource from a data store using the first context hash vector and a hash vector for the first resource, wherein (i) the data store comprises a plurality of resources, (ii) each resource of the plurality of resources is associated with a hash vector, (iii) selecting the first resource comprises computing a distance between the first context hash vector and the hash vector for the first resource; and transmitting, during the session, information about the first resource to the first computing device to allow the first user to access the first resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for presenting information about a resource to a user, the system comprising:
-
at least one server computer comprising at least one processor and at least one memory, the at least one server computer configured to; receive, a plurality of electronic messages during a session between a first computing device of a first user and a second computing device of a second user; compute, a semantic representation of each message of the plurality of electronic messages; compute, a first context vector by processing the semantic representations for the plurality of electronic messages; quantize, the first context vector to obtain a first context hash vector; select a first resource from a data store using the first context hash vector and a hash vector for the first resource, wherein the data store comprises a plurality of resources and each resource of the plurality of resources is associated with a hash vector; and transmit, during the session, information about the first resource to the first computing device. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. One or more non-transitory computer-readable media comprising computer executable instructions that, when executed, cause at least one processor to perform actions comprising:
-
receiving a plurality of electronic messages during a session between a first computing device of a first user and a second computing device of a second user; computing a semantic representation of each message of the plurality of electronic messages; computing a context vector by processing the semantic representations for the plurality of electronic messages; quantizing the context vector to obtain a context hash vector; selecting a first resource from a data store using the context hash vector and a hash vector for the first resource, wherein the data store comprises a plurality of resources and each resource of the plurality of resources is associated with a hash vector; and transmitting, during the session, information about the first resource to the first computing device. - View Dependent Claims (17, 18, 19, 20)
-
Specification