# US 2019/0377824 A1 · Schemaless systems and methods for automatically building and utilizing a chatbot knowledge base or the like

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

- Number: US 2019/0377824 A1
- Document ID: US20190377824A1
- Status: Published application
- Kind: A1
- Application number: 16/004,508
- Filed: 2018-06-11
- Published: 2019-12-12
- Earliest claimed: 2018-06-11
- Assignees: Stratifyd, Inc.
- Applicants: Stratifyd, Inc.
- Inventors: Xiaoyu WANG; Guangchi LIU
- Web page: https://patentgrep.com/patent/US20190377824A1

## CPC

- G06F 16/3329: Natural language query formulation
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F 16/3344: {using natural language analysis}
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Schemaless systems and methods for automatically building and utilizing a chatbot knowledge base or the like. Textual analytics tools, such as natural language processing (NLP) and/or deep learning engines, are used to analyze the knowledge base and uncover and highlight gaps, which are turned into topics. Predetermined answers to these queries can then be prepared manually, or by an artificial intelligence (AI) algorithm with alternative database visibility. In this manner, new question-and-answer (Q&A) pairs are generated by the systems and methods in an automated manner, for later use by a chatbot, coaching system, or the like. These processes are iterative. Advantageously, transferring the processes from manual control to automated control greatly conserves resources.

## Claims

### Claim 1

A system for automatically building a knowledge base, comprising:
a question-and-answer detection module comprising a textual analytics tool operable for parsing a query to a platform utilizing an existing knowledge base to identify a missing question-and-answer pair associated with the existing knowledge base;
an answer formulation module operable for manually or automatically generating an answer to the query to form a potential question-and-answer pair;
a question-and-answer validation module operable for manually or automatically validating the formulated potential question-and-answer pair; and
a question-and-answer substitution module operable for updating the existing knowledge base with the validated formulated potential question-and-answer pair to form a new knowledge base;
wherein the platform is operable for receiving another query and responding utilizing the new knowledge base.

### Claim 2 (depends on 1)

The system of claim 1, wherein the textual analytics tool comprises one or more of a natural language processing engine and a deep learning engine.

### Claim 3 (depends on 1)

The system of claim 1, wherein the textual analytics tool is operable for generating one or more topics associated with the query.

### Claim 4 (depends on 1)

The system of claim 1, wherein manually generating the answer to the query comprises presenting the query to a user and receiving the answer from the user.

### Claim 5 (depends on 1)

The system of claim 1, wherein automatically generating the answer to the query comprises transmitting the query to an artificial intelligence engine and receiving the answer from the artificial engine.

### Claim 6 (depends on 1)

The system of claim 1, wherein manually validating the formulated potential question-and-answer pair comprises presenting the formulated potential question-and-answer pair to a user for approval.

### Claim 7 (depends on 1)

The system of claim 1, wherein automatically validating the formulated potential question-and-answer pair comprises presenting the formulated potential question-and-answer pair to an artificial intelligence engine for approval.

### Claim 8 (depends on 1)

The system of claim 1, wherein the platform comprises one of a chatbot and a coaching system.

### Claim 9 (depends on 1)

The system of claim 1, wherein the existing knowledge base is updated iteratively to form the new knowledge base.

### Claim 10

A method for automatically building a knowledge base, comprising:
parsing a query to a platform utilizing an existing knowledge base to identify a missing question-and-answer pair associated with the existing knowledge base;
manually or automatically generating an answer to the query to form a potential question-and-answer pair;
manually or automatically validating the formulated potential question-and-answer pair; and
updating the existing knowledge base with the validated formulated potential question-and-answer pair to form a new knowledge base;
wherein the platform is operable for receiving another query and responding utilizing the new knowledge base.

### Claim 11 (depends on 10)

The method of claim 10, wherein parsing the query comprises parsing the query using one or more of a natural language processing engine and a deep learning engine.

### Claim 12 (depends on 10)

The method of claim 10, wherein parsing the query comprises generating one or more topics associated with the query.

### Claim 13 (depends on 10)

The method of claim 10, wherein manually generating the answer to the query comprises presenting the query to a user and receiving the answer from the user.

### Claim 14 (depends on 10)

The method of claim 10, wherein automatically generating the answer to the query comprises transmitting the query to an artificial intelligence engine and receiving the answer from the artificial engine.

### Claim 15 (depends on 10)

The method of claim 10, wherein manually validating the formulated potential question-and-answer pair comprises presenting the formulated potential question-and-answer pair to a user for approval.

### Claim 16 (depends on 10)

The method of claim 10, wherein automatically validating the formulated potential question-and-answer pair comprises presenting the formulated potential question-and-answer pair to an artificial intelligence engine for approval.

### Claim 17 (depends on 10)

The method of claim 10, wherein the platform comprises one of a chatbot and a coaching system.

### Claim 18 (depends on 10)

The method of claim 10, wherein the existing knowledge base is updated iteratively to form the new knowledge base.

### Claim 19

A method for using a knowledge base, comprising:
receiving, at a platform, a query from a user; and
accessing a knowledge base comprising a plurality of question-and-answer pairs to locate a question-and-answer pair that comprises an answer to the query from the user;
wherein the knowledge base if formed by:
parsing a query to the platform utilizing a prior knowledge base to identify a missing question-and-answer pair associated with the prior knowledge base;
manually or automatically generating an answer to the query to form a potential question-and-answer pair;
manually or automatically validating the formulated potential question-and-answer pair; and
updating the existing knowledge base with the validated formulated potential question-and-answer pair to form the knowledge base.

### Claim 20 (depends on 19)

The method of claim 19, wherein parsing the query comprises parsing the query using one or more of a natural language processing engine and a deep learning engine.

### Claim 21 (depends on 19)

The method of claim 19, wherein the platform comprises one of a chatbot and a coaching system.
