# US 2022/0284059 A1 · Measuring quality of a chatbot response

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

- Number: US 2022/0284059 A1
- Document ID: US20220284059A1
- Status: Published application
- Kind: A1
- Application number: 17/249,522
- Filed: 2021-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Piotr Kalandyk; Grzegorz Piotr Szczepanik; Hubert Kompanowski; Agnieszka Tkaczyk-Walczak
- Web page: https://patentgrep.com/patent/US20220284059A1

## CPC

- G06F 16/3329: Natural language query formulation
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 16/906: Clustering; Classification
- G06F 16/908: using metadata automatically derived from the content
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, computer system, and computer program product for measuring a quality of a chatbot response. The present invention may include receiving one or more classifications, receiving a set of questions in a chatbot to be analyzed, filtering any question from the received set of questions that is not related to an area of expertise of the chatbot, matching at least two questions from the received set of questions to each other, and applying at least one of the one or more classifications to the at least two matched questions. The one or more classifications may be based on a similarity of words and synonyms used in the at least two matched questions. The one or more classifications may be based on a similarity of intents of the at least two matched questions.

## Claims

### Claim 1

A computer-implemented method for measuring a quality of a chatbot response, the computer-implemented method comprising:
receiving one or more classifications;
receiving a set of questions in a chatbot to be analyzed;
filtering any question from the received set of questions that is not related to an area of expertise of the chatbot;
matching at least two questions from the received set of questions to each other; and
applying at least one of the one or more classifications to the at least two matched questions.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more classifications is based on a similarity of words and synonyms used in the at least two matched questions.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more classifications is based on a similarity of intents of the at least two matched questions.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more classifications is based on a user's frustration associated with the at least two matched questions.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
creating metadata associated with the at least two matched questions; and
storing the at least two matched questions with the created metadata.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more classifications includes a classification score.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
calculating an overall accuracy of the chatbot;
comparing the calculated overall accuracy of the chatbot with a predefined chatbot accuracy level; and
generating an accuracy report.

### Claim 8

A computer system for measuring a quality of a chatbot response, comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more computer-readable tangible storage media for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, wherein the computer system is capable of performing a method comprising:
receiving one or more classifications;
receiving a set of questions in a chatbot to be analyzed;
filtering any question from the received set of questions that is not related to an area of expertise of the chatbot;
matching at least two questions from the received set of questions to each other; and
applying at least one of the one or more classifications to the at least two matched questions.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein the one or more classifications is based on a similarity of words and synonyms used in the at least two matched questions.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the one or more classifications is based on a similarity of intents of the at least two matched questions.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the one or more classifications is based on a user's frustration associated with the at least two matched questions.

### Claim 12 (depends on 8)

The computer system of claim 8, further comprising:
creating metadata associated with the at least two matched questions; and
storing the at least two matched questions with the created metadata.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein the one or more classifications includes a classification score.

### Claim 14 (depends on 8)

The computer system of claim 8, further comprising:
calculating an overall accuracy of the chatbot;
comparing the calculated overall accuracy of the chatbot with a predefined chatbot accuracy level; and
generating an accuracy report.

### Claim 15

A computer program product for measuring a quality of a chatbot response, comprising:
one or more computer-readable tangible storage media and program instructions stored on at least one of the one or more computer-readable tangible storage media, the program instructions executable by a processor to cause the processor to perform a method comprising:
receiving one or more classifications;
receiving a set of questions in a chatbot to be analyzed;
filtering any question from the received set of questions that is not related to an area of expertise of the chatbot;
matching at least two questions from the received set of questions to each other; and
applying at least one of the one or more classifications to the at least two matched questions.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the one or more classifications is based on a similarity of words and synonyms used in the at least two matched questions.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the one or more classifications is based on a similarity of intents of the at least two matched questions.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the one or more classifications is based on a user's frustration associated with the at least two matched questions.

### Claim 19 (depends on 15)

The computer program product of claim 15, further comprising:
creating metadata associated with the at least two matched questions; and
storing the at least two matched questions with the created metadata.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the one or more classifications includes a classification score.
