Sign In to Follow Application
View All Documents & Correspondence

Method And System For Automatically Generating A Response To A User Query

Abstract: Disclosed subject matter relates to virtual assistance that includes a method and system for automatically generating response to a user query without language constraints. A response generating system receives the user query from a computing device associated with an end user and determines whether the user query belongs to at least one domain to determine goal data and a problem category of the user query. Further, a problem node associated with the user query is detected from problem nodes by parsing a predefined knowledge graph based on the goal data and the problem category. Furthermore, questions are provided based on problem sub-nodes of the problem node to the computing device to receive a feedback. The response to the user query extracted from the one of the problem sub-nodes is displayed to the end user based on the feedback. The present disclosure is highly scalable, reusable and requires minimal human supervision. FIG.2

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
16 March 2017
Publication Number
38/2018
Publication Type
INA
Invention Field
ELECTRONICS
Status
Email
ipr@akshipassociates.com
Parent Application
Patent Number
Legal Status
Grant Date
2023-07-31
Renewal Date

Applicants

WIPRO LIMITED
Doddakannelli, Sarjapur Road, Bangalore 560035, Karnataka, India.

Inventors

1. CHANNARAYAPATNA SATHYANARAYANA KIRAN KUMAR
#768, 16th Main, Banashankari 2nd Stage, Bangalore - 560070, Karnataka, India
2. SAWANI BADE
Mantri Woodlands, Arekere Gate, Bannerghatta Road, Bangalore 560076, Karnataka, India

Specification

Claims:We claim:
1. A method for automatically generating a response to a user query, the method comprising:
receiving, by a response generating system (107), the user query from a computing device (103) associated with an end user (101);
determining, by the response generating system (107), 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 (107), goal data (217) and a problem category of the user query;
detecting, by the response generating system (107), a problem node associated with the user query from one or more problem nodes by parsing a predefined knowledge graph corresponding to a category of the at least one domain, based on the goal data (217) and the problem category;
providing, by the response generating system (107), at least one of open-ended questions and closed-ended questions based on one or more problem sub-nodes of the problem node to the computing device (103) to receive a feedback for at least one of the open-ended questions and the closed-ended questions from the end user (101); and
displaying, by the response generating system (107), the response to the user query extracted from one of the one or more problem sub-nodes to the end user (101) based on the feedback.
2. The method as claimed in claim 1, wherein the user query is related to at least one of features of a product, working of a product and services related to the product.

3. The method as claimed in claim 1, wherein determining at least one domain to which the user query belongs, comprises detecting presence of at least one of predefined domain-related words and cue words representing at least one domain.

4. The method as claimed in claim 1, wherein determining the goal data (217) comprises:
obtaining, by the response generating system (107), one or more tokens from the user query;
assigning, by the response generating system (107), a Part-Of-Speech (POS) tag to each of the one or more tokens;
determining, by the response generating system (107), one or more features of the one or more tokens based on the POS tags; and
determining, by the response generating system (107), the goal data (217) based on the one or more features of the one or more tokens, wherein the goal data (217) comprises at least one of, one or more goals present in the user query and one or more features affecting each of the one or more goals.
5. The method as claimed in claim 4, wherein the one or more features comprises at least one of position of each of the one or more tokens in the user query, presence of one or more tokens indicating at least one of the plurality of predefined domains, presence of one or more tokens indicating negation, presence of one or more tokens that provide a negative impact and presence of one or more tokens indicating context modifiers.

6. The method as claimed in claim 4, wherein the one or more features are at least one of satisfying features and unsatisfying features.

7. The method as claimed in claim 4 further comprises annotating, by the response generation system, a tag to each of the one or more tokens in the user query based on the goal data (217).

8. The method as claimed in claim 1, wherein the problem category of the user query is at least one of a problem, an information, an instruction and a check.

9. The method as claimed in claim 1, wherein determining the problem category comprises:
creating, by the response generating system (107), 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 (107), a weightage for each of the one or more words in the user query;
filtering, by the response generating system (107), the one or more words from the user query based on the weightage;
generating, by the response generating system (107), 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 (107), 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.

10. The method as claimed in claim 9, wherein the one or more parameters comprises at least one of presence of predefined-domain related words and cue words representing the at least one domain in the user query and range of the user query.

11. The method as claimed in claim 1, wherein the one or more sub-nodes of the problem node are selected based on the goal data (217).

12. The method as claimed in claim 1, wherein the at least one of the open-ended questions and the closed-ended questions are provided to the computing device (103) until one of the one or more problem sub-nodes comprising a response to the user query is detected based on the feedback of the end user (101).

13. The method as claimed in claim 1 further comprises prompting, by the response generation system, the end user (101) to rephrase the user query, if the one of the one or more sub-nodes comprising the response is not detected.

14. The method as claimed in claim 1 further comprises generating the predefined knowledge graph by:

extracting, by the response generating system (107), text from each of one or more documents received from a document database (216), wherein each of the one or more documents are related to the predefined domain;
arranging, by the response generating system (107), each of one or more logical units of the text in the one or more problem nodes and the one or more problem sub-nodes based on structure of the text;
assigning, by the response generating system (107), a node Identifier (ID) to each of the one or more problem nodes and the one or more problem sub-nodes; and
generating, by the response generation system, the predefined knowledge graph comprising each of the one or more problem nodes and the one or more problem sub-nodes, the node ID and a trained problem category corresponding to each of the one or more one or more problem nodes and the one or more problem sub-nodes.

15. A response generating system (107) for automatically generating a response to a user query, the response generating system (107) comprising:
a processor (109); and
a memory (113) communicatively coupled to the processor (109), wherein the memory (113) stores the processor (109)-executable instructions, which, on execution, causes the processor (109) to:
receive the user query from a computing device (103) associated with an end user (101);
determine whether the user query belongs to at least one domain from a plurality of predefined domains;
determine, when the user query belongs to the at least one domain, by the response generating system (107), goal data (217) and a problem category of the user query;
detect a problem node associated with the user query from one or more problem nodes by parsing a predefined knowledge graph corresponding to a category of the at least one domain, based on the goal data (217) and the problem category;
provide at least one of open-ended questions and closed-ended questions based on one or more problem sub-nodes of the problem node to the computing device (103) to receive a feedback for at least one of the open-ended questions and the closed-ended questions from the end user (101); and
display the response to the user query extracted from one of the one or more problem sub-nodes to the end user (101) based on the feedback.
16. The response generating system (107) as claimed in claim 15, wherein the user query is related to at least one of features of a product, working of a product and services related to the product.

17. The response generating system (107) as claimed in claim 15, wherein the processor (109) determines at least one domain to which the user query belongs, by detecting presence of at least one of predefined domain-related words and cue words representing at least one domain.
18. The response generating system (107) as claimed in claim 15, wherein to determine the goal data (217), instructions cause the processor (109) to:
obtain one or more tokens from the user query;
assign a Part-Of-Speech (POS) tag to each of the one or more tokens;
determine one or more features of the one or more tokens based on the POS tags; and
determine the goal data (217) based on the one or more features of the one or more tokens, wherein the goal data (217) comprises at least one of, one or more goals present in the user query and one or more features affecting each of the one or more goals.
19. The response generating system (107) as claimed in claim 18, wherein the one or more features comprises at least one of position of each of the one or more tokens in the user query, presence of one or more tokens indicating at least one of the plurality of predefined domains, presence of one or more tokens indicating negation, presence of one or more tokens that provide a negative impact and presence of one or more tokens indicating context modifiers.

20. The response generating system (107) as claimed in claim 18, wherein the one or more features are at least one of satisfying features and unsatisfying features.

21. The response generating system (107) as claimed in claim 18, wherein the processor (109) is further configured to annotate a tag to each of the one or more tokens in the user query based on the goal data (217).

22. The response generating system (107) as claimed in claim 18, wherein the problem category of the user query is at least one of a problem, an information, an instruction and a check.

23. The response generating system (107) as claimed in claim 18, wherein to determine the problem category, the instructions cause the processor (109) to
create 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;
assign a weightage for each of the one or more words in the user query;
filter the one or more words from the user query based on the weightage;
generate 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
compare 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.

24. The response generating system (107) as claimed in claim 23, wherein the one or more parameters comprises at least one of presence of predefined-domain related words and cue words representing the at least one domain in the user query and range of the user query.

25. The response generating system (107) as claimed in claim 15, wherein the one or more sub-nodes of the problem node are selected based on the goal data (217).

26. The response generating system (107) as claimed in claim 15, wherein the processor (109) provides at least one of the open-ended questions and the closed-ended questions to the computing device (103) until one of the one or more problem sub-nodes comprising a response to the user query is detected based on the feedback of the end user (101).

27. The response generating system (107) as claimed in claim 15, wherein the processor (109) is further configured to prompt the end user (101) to rephrase the user query, if the one of the one or more sub-nodes comprising the response is not detected.

28. The response generating system (107) as claimed in claim 15, wherein to generate the predefined knowledge graph, the instructions cause the processor (109) to:

extract text from each of one or more documents received from a document database (216), wherein each of the one or more documents are related to the predefined domain;
arrange each of one or more logical units of the text in the one or more problem nodes and the one or more problem sub-nodes based on structure of the text;
assign a node Identifier (ID) to each of the one or more problem nodes and the one or more problem sub-nodes; and
generate the predefined knowledge graph comprising each of the one or more problem nodes and the one or more problem sub-nodes, the node ID and a trained problem category corresponding to each of the one or more one or more problem nodes and the one or more problem sub-nodes.

Dated this 16th day of March 2017

SWETHA SN
OF K & S PARTNERS
AGENT FOR THE APPLICANT
, Description:TECHNICAL FIELD
The present subject matter relates generally to virtual assistance, and more particularly, but not exclusively to a method and system for automatically generating a response to a user query.

Documents

Application Documents

# Name Date
1 Power of Attorney [16-03-2017(online)].pdf 2017-03-16
2 Form 5 [16-03-2017(online)].pdf 2017-03-16
3 Form 3 [16-03-2017(online)].pdf 2017-03-16
4 Form 18 [16-03-2017(online)].pdf_156.pdf 2017-03-16
5 Form 18 [16-03-2017(online)].pdf 2017-03-16
6 Form 1 [16-03-2017(online)].pdf 2017-03-16
7 Drawing [16-03-2017(online)].pdf 2017-03-16
8 Description(Complete) [16-03-2017(online)].pdf_155.pdf 2017-03-16
9 Description(Complete) [16-03-2017(online)].pdf 2017-03-16
10 REQUEST FOR CERTIFIED COPY [20-03-2017(online)].pdf 2017-03-20
11 201741009110-Proof of Right (MANDATORY) [11-12-2017(online)].pdf 2017-12-11
12 Correspondence By Agent_Form 1_13-12-2017.pdf 2017-12-13
13 201741009110-FER.pdf 2021-10-17
14 201741009110-POA [28-02-2022(online)].pdf 2022-02-28
15 201741009110-OTHERS [28-02-2022(online)].pdf 2022-02-28
16 201741009110-FORM 13 [28-02-2022(online)].pdf 2022-02-28
17 201741009110-FER_SER_REPLY [28-02-2022(online)].pdf 2022-02-28
18 201741009110-COMPLETE SPECIFICATION [28-02-2022(online)].pdf 2022-02-28
19 201741009110-CLAIMS [28-02-2022(online)].pdf 2022-02-28
20 201741009110-AMENDED DOCUMENTS [28-02-2022(online)].pdf 2022-02-28
21 201741009110-PETITION UNDER RULE 137 [02-03-2022(online)].pdf 2022-03-02
22 201741009110-PETITION UNDER RULE 137 [16-03-2022(online)].pdf 2022-03-16
23 201741009110-US(14)-HearingNotice-(HearingDate-30-05-2023).pdf 2023-05-09
24 201741009110-Correspondence to notify the Controller [16-05-2023(online)].pdf 2023-05-16
25 201741009110-Written submissions and relevant documents [13-06-2023(online)].pdf 2023-06-13
26 201741009110-FORM-26 [13-06-2023(online)].pdf 2023-06-13
27 201741009110-PatentCertificate31-07-2023.pdf 2023-07-31
28 201741009110-IntimationOfGrant31-07-2023.pdf 2023-07-31

Search Strategy

1 201741009110E_17-09-2021.pdf

ERegister / Renewals

3rd: 16 Oct 2023

From 16/03/2019 - To 16/03/2020

4th: 16 Oct 2023

From 16/03/2020 - To 16/03/2021

5th: 16 Oct 2023

From 16/03/2021 - To 16/03/2022

6th: 16 Oct 2023

From 16/03/2022 - To 16/03/2023

7th: 16 Oct 2023

From 16/03/2023 - To 16/03/2024

8th: 09 Mar 2024

From 16/03/2024 - To 16/03/2025

9th: 07 Mar 2025

From 16/03/2025 - To 16/03/2026