Patent attributes
Examples provide a system for generating document-based responses to user provided queries. The response generation component creates a set of generated utterances based on text associated with a set of sentences in at least one document. Each utterance in the set of generated utterances is assigned an intent. A filter component identifies at least one utterance from the set of generated utterances having a same intent as a user-provided utterance to form a set of filtered utterances. A selection component identifies one or more utterance(s) from the set of filtered utterances having a shortest distance from the user-provided utterance. If more than one utterance is identified, a weighted summarization response is output to the user based on a predefined answer to each utterance in the selected set of utterances.