# US 2021/0082422 A1 · System and method to interpret natural language requests and handle natural language responses in conversation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0082422 A1
- Document ID: US20210082422A1
- Status: Published application
- Kind: A1
- Application number: 16/706,902
- Filed: 2019-12-09
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: Wizergos Software Solutions Private Limited
- Applicants: Wizergos Software Solutions Private Limited
- Inventors: Shibabrata Mondal
- Web page: https://patentgrep.com/patent/US20210082422A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 15/183: using context dependencies, e.g. language models
- G06F 40/279: Recognition of textual entities
- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06F 40/56: Natural language generation
- G10L 2015/223: {Execution procedure of a spoken command}
- G10L 2015/226: {using non-speech characteristics}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method to interpret natural language requests and handle natural language responses in conversation is disclosed. The system includes an intent creation subsystem to receive one or more predefined intents to create one or more corresponding intent databases; a natural language message handling subsystem to receive a plurality of natural language messages from a user to identify one or more intents, to match one or more identified intents associated with the plurality of received natural language messages with the one or more predefined intents, handle the one or more identified intents by using a first message handling scheme when a similar match is found and a second message handling scheme in case of a dissimilar match; a natural language response handling subsystem to extract information from plurality of received natural language messages, to rectify the plurality of received natural language messages to handle a structured natural language response.

## Claims

### Claim 1

A system to interpret natural language requests and handle natural language responses in a conversation comprising:
an intent creation subsystem configured to receive one or more predefined intents to create one or more corresponding intent databases;
a natural language message handling subsystem operatively coupled to the intent creation subsystem, wherein the natural language message handling subsystem is configured to:
receive a plurality of natural language messages from a user to identify one or more intents associated with a plurality of received natural language messages;
match one or more identified intents associated with the plurality of received natural language messages with the one or more predefined intents;
handle the one or more identified intents by using a first message handling scheme when the one or more identified intents matches with the one or more predefined intents;
handle the one or more identified intents by using a second message handling scheme when the one or more identified intents are unmatched with the one or more predefined intents;
a natural language response handling subsystem operatively coupled to the natural language message handling subsystem, wherein the natural language response handling subsystem is configured to:
extract information from the plurality of received natural language messages, upon handling of the one or more identified intents, based on an information type and a validation criteria; and
rectify the plurality of received natural language messages to handle a structured natural language response when an extraction of the information fails.

### Claim 2 (depends on 1)

The system as claimed in claim 1, wherein the one or more intent databases comprises at least one of an indexed intent database, a quick normalised intent database, an advanced normalised intent database, a vector representation of intent database, a text search database, nearest neighbour vector indices database or a combination thereof.

### Claim 3 (depends on 1)

The system as claimed in claim 1, wherein the plurality of natural language messages comprises at least one of a natural language user request, a natural language user response or a combination thereof.

### Claim 4 (depends on 3)

The system as claimed in claim 3, wherein the natural language user response comprises at least one of a state of the user, a location of the user, a time of the user, a purpose of the user or a combination thereof.

### Claim 5 (depends on 1)

The system as claimed in claim 1, further comprising an intent analysis subsystem operatively coupled to the intent creation subsystem, wherein the intent analysis subsystem is configured to:
recognise a language of the one or more predefined intents by using a linguistic analysis technique;
categorise one or more analysed intents into the one or more corresponding intent databases based on one or more criteria by using one or more classifiers.

### Claim 6 (depends on 1)

The system as claimed in claim 1, further comprising a learning and augmentation subsystem operatively coupled to the natural language message handling subsystem, the natural language response handling subsystem, wherein the learning and augmentation subsystem is configured to enable an interactive assistant to augment an implementation of a conversational functionality to attain a predetermined performance level in the conversation.

### Claim 7 (depends on 1)

The system as claimed in claim 1, further comprising a recommendation subsystem operatively coupled to the learning and augmentation subsystem, wherein the recommendation subsystem is configured to provide one or more real-time recommendations to at least one administrator associated with monitoring activity of the conversation process, wherein the at least one administrator comprises the interactive assistant associated with the conversation, a human assistant associated with the conversation or a combination thereof.

### Claim 8

A method comprising:
receiving, by an intent creation subsystem, one or more predefined intents to create one or more corresponding intent databases;
receiving, by a natural language message handling subsystem, a plurality of natural language messages from a user to identify one or more intents associated with a plurality of received natural language messages;
matching, by a natural language message handling subsystem, one or more identified intents associated with the plurality of received natural language messages with the one or more predefined intents;
handling, by the natural language message handling subsystem, the one or more identified intents by using a first message handling scheme when the one or more identified intents matches with the one or more predefined intents;
handling, by the natural language message handling subsystem, the one or more identified intents by using a second message handling scheme when the one or more identified intents are unmatched with the one or more predefined intents;
extracting, by a natural language response handling subsystem, information from the plurality of received natural language messages, upon handling of the one or more identified intents, based on an information type and a validation criteria; and
rectifying, by the natural language response handling subsystem, the plurality of received natural language messages to handle a structured natural language response when an extraction of the information fails.

### Claim 9 (depends on 8)

The method as claimed in claim 8, wherein handling the one or more identified intents by using the first message handling scheme comprises handling the one or more identified intents by:
identifying a structured form of the plurality of received natural language messages;
handling the structured natural language response when presence of the structured form of the plurality of received natural language messages is identified;
identifying an expectation of an occurrence of the structured natural language response when the plurality of received natural language user messages is a natural language response and an absence of the structured form is determined;
converting the natural language response into the structured natural response;
determining matching of the one or more identified intents of the structured natural response when a response mismatch is encountered upon conversion.

### Claim 10 (depends on 8)

The method as claimed in claim 8, wherein handling the one or more identified intents by using the second message handling scheme comprises handling the one or more identified intents by:
identifying one or more entities in the plurality of received natural language messages to create the structured natural language response excluding the one or more entities and rectified natural language response based on an intent of an interactive assistant when the matching of the intent in the first condition generates an unsatisfied result;
determining matching of the one or more identified intents of the plurality of received natural language messages by using one or more approaches, wherein the one or more approaches comprises matching the one or more identified intents in the quick normalised intent database, matching the one or more identified intents in the nearest neighbour vector indices database and matching the one or more identified intents in the advanced normalised intent database;
identifying a requirement of an elaboration of the plurality of received natural language messages from the users when a failure in the matching of the one or more identified intents using the advanced normalised intent database is detected;
creating learning data and a failure handling path when the failure in the matching of the one or more identified intents using the one or more approaches is detected.

### Claim 11 (depends on 8)

The method as claimed in claim 8, further comprising enabling, by a learning and augmentation subsystem, an interactive assistant to augment an implementation of a conversational functionality to attain a predetermined performance level in the conversation.

### Claim 12 (depends on 8)

The method as claimed in claim 8, further comprising providing, by a recommendation subsystem, one or more real-time recommendations to at least one administrator associated with monitoring activity of the conversation process, wherein the at least one administrator comprises the interactive assistant associated with the conversation, a human assistant associated with the conversation or a combination thereof.
