Patent attributes
Techniques for generating diverse smart replies using a synonym hierarchy are disclosed herein. A computer system may detect that a first set of one or more messages having first content has been transmitted from a first computing device of a first user to a second computing device of a second user, determine a plurality of candidate replies based on the first content of the first set of one or more messages, and then select a plurality of smart replies from the plurality of candidate replies using a hierarchical graph data structure and at least one diversity rule. The selecting of the plurality of smart replies comprises omitting at least one of the plurality of candidate replies from selection based on the at least one diversity rule, which limits a number of the plurality of smart replies that have a common parent node.