# US 2018/0025726 A1 · Creating coordinated multi-chatbots using natural dialogues by means of knowledge base

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

- Number: US 2018/0025726 A1
- Document ID: US20180025726A1
- Status: Published application
- Kind: A1
- Application number: 15/217,660
- Filed: 2016-07-22
- Published: 2018-01-25
- Earliest claimed: 2016-07-22
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: MAIRA GATTI de BAYSER; ALAN BRAZ; PAULO RODRIGO CAVALIN; FLAVIO VINICIUS DINIZ de FIGUEIREDO; RENAN FRANCISCO SANTOS SOUZA
- Web page: https://patentgrep.com/patent/US20180025726A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F 40/35: Discourse or dialogue representation
- G10L 15/1822: {Parsing for meaning understanding}
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- H04L 51/52: for supporting social networking services
- G10L 15/063: {Training}
- 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)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system for coordinating multiple chatbots in a group conversation using natural dialog systems, including a creation unit that enables a user to create a group chat with chatbots; a response unit that allows the user to reply to any utterance extracted from a message received from a member of the group chat; a transmission unit that sends messages to every member of the group chat; a development unit that develops chatbots that understand natural language and interact in a group chat using natural dialogue; a network connection; a first database that stores a knowledge base extracted from all the utterances exchanged by members of the group chat; a second database that stores all interactions between the user and the group chat, and a third database that stores all interaction protocols used by the members of the group chat.

## Claims

### Claim 1

A system for coordinating multiple chatbots in a group conversation using natural dialog systems, comprising:
a creation unit that enables a user to create a group chat with chatbots;
a response unit that allows the user to reply to any utterance extracted from a message received from a member of the group chat;
a transmission unit that sends messages to every member of the group chat;
a development unit that develops chatbots that understand natural language and interact in a group chat using natural dialogue;
a network connection;
a first database that stores a knowledge base extracted from all the utterances exchanged by members of the group chat;
a second database that stores all interactions between the user and the group chat, and
a third database that stores all interaction protocols used by the members of the group chat.

### Claim 2 (depends on 1)

The system of claim 1, wherein chatbots include a mediator chatbot that invites or removes other chatbots to/from the group chat, based on users' utterances and the interaction protocols.

### Claim 3 (depends on 1)

The system of claim 1, wherein
the knowledge base includes rules that represent knowledge regarding the interaction protocols;
the interaction protocols determine types of messages sent by chatbots; and
the second database includes all the utterances exchanged between users and chatbots.

### Claim 4 (depends on 1)

The system of claim 1, wherein the knowledge base includes
all intentions of all of the utterances;
synonyms for common utterances;
all entities of the intentions, and all features associated with the entities;
actions associated with each <intention, entity, feature> triple;
answers to common intentions;
part-of-speech tags associated to the words of all of the utterances;
a dependency parsing tree which associates relations between all the words of all of the utterances; and
numbers detected in the utterances and their relations to words of the utterances, wherein the numbers include ordinal and cardinal numbers.

### Claim 5 (depends on 1)

The system of claim 1, wherein a chatbot is any object that can receive, interpret and reply to messages using natural language, learn all interactions between the user and the group chat, including all utterances extracted from messages exchanged between users and chatbots.

### Claim 6 (depends on 5)

The system of claim 5, wherein developing chatbots includes developing context parsing and saving from utterances exchanged in a group chat, and specifying rules to provide a predefined reply for each recognized utterance.

### Claim 7 (depends on 5)

The system of claim 5, wherein developing chatbots includes
training a classifier for detecting similar intentions from utterances;
training a classifier for detecting a speech act of an utterance;
training a classifier for detecting an action to be performed by a chatbot in reply to a received utterance; and
training a classifier for detecting dialogue errors.

### Claim 8 (depends on 1)

The system of claim 1,
wherein the user reply to any utterance is one of a voice reply, a text reply, or any communication mode that can be translated into a natural language,
and the response unit further comprises
a sub-unit that performs an action, and
a sub-unit that generates an answer depending on the action and knowledge extracted from the utterance being replied to.

### Claim 9

A non-transitory program storage device readable by a computer, tangibly embodying a program of instructions executed by the computer to implement a system for coordinating multiple chatbots in a group conversation using natural dialog systems, the system comprising:
a creation unit that enables a user to create a group chat with chatbots;
a response unit that allows the user to reply to any utterance extracted from a message received from a member of the group chat;
a transmission unit that sends messages to every member of the group chat;
a development unit that develops chatbots that understand natural language and interact in a group chat using natural dialogue;
a network connection;
a first database that stores a knowledge base extracted from all the utterances exchanged by members of the group chat;
a second database that stores all interactions between the user and the group chat, and
a third database that stores all interaction protocols used by the members of the group chat.

### Claim 10 (depends on 9)

The computer readable program storage device of claim 9, wherein chatbots include a mediator chatbot that invites or removes other chatbots to/from the group chat, based on users' utterances and the interaction protocols.

### Claim 11 (depends on 9)

The computer readable program storage device of claim 9, wherein
the knowledge base includes rules that represent knowledge regarding the interaction protocols;
the interaction protocols determine types of messages sent by chatbots; and
the second database includes all the utterances exchanged between users and chatbots.

### Claim 12 (depends on 9)

The computer readable program storage device of claim 9, wherein the knowledge base includes
all intentions of all of the utterances;
synonyms for common utterances;
all entities of the intentions, and all features associated with the entities;
actions associated with each <intention, entity, feature> triple;
answers to common intentions;
part-of-speech tags associated to the words of all of the utterances;
a dependency parsing tree which associates relations between all the words of all of the utterances; and
numbers detected in the utterances and their relations to words of the utterances, wherein the numbers include ordinal and cardinal numbers.

### Claim 13 (depends on 9)

The computer readable program storage device of claim 9, wherein a chatbot is any object that can receive, interpret and reply to messages using natural language, learn all interactions between the user and the group chat, including all utterances extracted from messages exchanged between users and chatbots.

### Claim 14 (depends on 13)

The computer readable program storage device of claim 13, wherein developing chatbots includes developing context parsing and saving from utterances exchanged in a group chat, and specifying rules to provide a predefined reply for each recognized utterance.

### Claim 15 (depends on 13)

The computer readable program storage device of claim 13, wherein developing chatbots includes
training a classifier for detecting similar intentions from utterances;
training a classifier for detecting a speech act of an utterance;
training a classifier for detecting an action to be performed by a chatbot in reply to a received utterance; and
training a classifier for detecting dialogue errors.

### Claim 16 (depends on 9)

The computer readable program storage device of claim 9,
wherein the user reply to any utterance is one of a voice reply, a text reply, or any communication mode that can be translated into a natural language,
and the response unit further comprises
a sub-unit that performs an action, and
a sub-unit that generates an answer depending on the action and knowledge extracted from the utterance being replied to.
