×

Method and system for automatically generating a response to a user query

  • US 10,657,572 B2
  • Filed: 03/20/2017
  • Issued: 05/19/2020
  • Est. Priority Date: 03/16/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method for automatically generating a response to a user query, the method comprising:

  • receiving, by a response generating system, the user query from a computing device associated with an end user;

    determining, by the response generating system, whether the user query belongs to at least one domain from a plurality of predefined domains;

    determining, when the user query belongs to the at least one domain, by the response generating system, goal data and a problem category of the user query, wherein determining the goal data comprises determining one or more features of one or more tokens based on Part-Of-Speech (POS) tags, wherein the one or more features comprise satisfying features that indicate steps successfully performed by the end user for resolving a problem;

    detecting, by the response generating system, a problem node and one or more problem sub-nodes associated with the user query by parsing a predefined knowledge graph corresponding to a category of the at least one domain, based on the goal data and the problem category;

    comparing, by the response generating system, each of the one or more problem sub-nodes with the satisfying features for semantic similarity;

    removing, upon comparison, by the response generating system, the one or more problem sub-nodes that are semantically similar to the satisfying features;

    providing, upon removal, by the response generating system, at least one of open-ended questions and closed-ended questions based on the one or more problem sub-nodes of the problem node to the computing device to receive a feedback for at least one of the open-ended questions and the closed-ended questions from the end user; and

    displaying, by the response generating system, the response to the user query extracted from one of the one or more problem sub-nodes to the end user based on the feedback;

    wherein determining the problem category comprises;

    creating, by the response generating system, a vocabulary file comprising each of one or more words in the user query and an Identifier (ID) corresponding to each of one or more words in the user query;

    assigning, by the response generating system a weightage for each of the one or more words in the user query;

    filtering, by the response generating system, the one or more words from the user query based on the weightage;

    generating, by the response generating system, one or more feature vectors by assigning a feature vector weightage to each of the one or more filtered words based on one or more parameters; and

    comparing, by the response generating system, each of the one or more feature vectors with each of the one or more predefined feature vectors related to the at least one domain to determine the problem category.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×