# US 2023/0274095 A1 · Autonomous conversational ai system without any configuration by a human

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

- Number: US 2023/0274095 A1
- Document ID: US20230274095A1
- Status: Published application
- Kind: A1
- Application number: 17/570,281
- Filed: 2022-01-06
- Published: 2023-08-31
- Earliest claimed: 2021-01-11
- Assignees: Gotlt! Inc.
- Applicants: Gotlt! Inc.
- Inventors: Amol Kelkar; Nikhil Varghese; Chandra Khatri; Utkarsh Mittal; Nachiketa Rajpurohit; Peter Relan; Hung Tran
- Web page: https://patentgrep.com/patent/US20230274095A1

## CPC

- G06F 40/35: Discourse or dialogue representation
- G06F 40/49: using very large corpora, e.g. the web
- G06F 40/247: Thesauruses; Synonyms
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- H04M 3/527: Centralised call answering arrangements not requiring operator intervention
- G06F 40/216: using statistical methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Described herein is an Autonomous Conversational AI system, which does not require any human configuration or annotation, and is used to have multi-tum dialogs with a user. A typical Conversational AI system consists of three main models: Natural Language Understanding (NLU), Dialog Manager (DM) and Natural Language Generation (NLG), which requires human provided data and configuration. The system proposed herein leverages novel Conversational AI methods which automatically generates conversational AI configuration from any historical conversation logs. The automatically generated configuration contains Auto-Topics, Auto-Subtopics, Auto-Intents, Auto-Responses and Auto-Flows which are used to automatically train NLU, DM and NLG models. Once these models are trained for given conversation logs, the system can be used to have dialog with any user.

## Claims

### Claim 1

A method for generation of Automatic Conversational AI Configuration (“Configuration”) from historical conversation logs (“Logs”), wherein
said Logs comprise a set of conversations,
said Logs may use any natural language,
said Configuration comprises Natural Language Understanding (“NLU”) configuration (“NLU Configuration”) and Dialog Management (“DM”) configuration (“DM Configuration”), wherein
said NLU Configuration comprises a list of representative user intents, list of representative agent responses, topic annotations for each conversation and paraphrases for each intent from said intents,
said DM Configuration comprises conversational flows, a list of actions and list of context variables, comprising:
method to generate said NLU Configuration from said Logs, that comprises:
method for discovering said representative user intents from said Logs using generative machine learning models,
method for discovering paraphrases for a representative user intent from said Logs using generative machine learning models,
method for discovering said representative agent responses from said Logs using generative machine learning models,
method for discovering said topic annotations for a conversation from said Logs using generative machine learning models,
method for compiling said list of representative user intents, said list of representative agent responses, said topic annotations for each conversation and said paraphrases for each intent from said intents into said NLU Configuration,
method to generate said DM Configuration, that comprises:
method for extracting prototypical conversations from said Logs,
method for extracting conversational flows from said prototypical conversations,
method for discovering said context variables,
method for discovering said system actions using generative machine learning models, wherein,
said system actions perform database queries or API calls,
said discovered system actions are inserted into said conversations at appropriate locations
method for compiling said prototypical conversations, said context variables, said system actions into said DM Configuration,
method for compiling said NLU Configuration and said DM Configuration into said Automatic Conversational AI Configuration.

### Claim 2 (depends on 1)

The method in claim 1, wherein the method requires no manual configuration actions.

### Claim 3 (depends on 1)

A method for configuring an autonomous Conversational AI (ACAI) System, wherein
said ACAI System comprises a Natural Language Understanding (NLU) model, a Dialog Management (DM) model, Natural Language Generation (NLG) models, context variables that track dialog state,
said ACAI System is configured to mimic conversations from said Logs from claim 1, comprising:
method to automate training and deployment of said NLU model using said NLU Configuration from claim 1
method to automate training and deployment of said DM model using said DM Configuration from claim 1
method for configuring said ACAI System to understand and respond in multiple languages using a multilingual language model, comprising:
method to translate said NLU Configuration from claim 1 and said DM Configuration from claim 1 into multiple languages using DNN model,
method to fine tune said multilingual language model with the said translated configuration.

### Claim 4 (depends on 3)

The method in claim 3, wherein the method requires no manual configuration actions.

### Claim 5 (depends on 1)

A method for automatically configuring a third party Conversational AI (TPAI) system, wherein
said TPAI system comprises a Natural Language Understanding (NLU) model, a Dialog Management (DM) model and API endpoints for configuration said TPAI system, comprising:
a method to translate autonomous Configuration produced by method in claim 1 to a format suitable for configuring said TPAI system,
a method to apply said formatted configuration to said TPAI system using said API endpoints exposed by said TPAI system.

### Claim 6

A method for synthesizing a conversation flow from a set of conversations and simplifying the said conversation flow into a simplified conversation flow, wherein
said conversation flow is a tree-like structure and each tree node is a user intent, agent response or system action, comprising:
method for combining said conversations into said conversational flow using multiple sequence alignment algorithm or a sentence-level auto-intents and turn-level auto-responses clustering algorithm,
method for analyzing and simplifying said conversational flow into said simplified conversational flow, wherein
said simplified conversational flow has fewer tree nodes,
said simplified conversational flow maintains user and agent alternating turns in conversations.

### Claim 7 (depends on 6)

The method in claim 6, wherein the method requires no manual configuration actions.

### Claim 8 (depends on 3)

A method for generating agent responses using a Natural Language Generation model in a ACAI System configured using method in claim 3.

### Claim 9 (depends on 1, 3)

A method to automatically improve performance of a ACAI System configured using method in claim 3 over time, comprising:
method to detect when said ACAI System performs poorly,
method to gather conversations for which said poor performance was observed,
method to invoke part of the method in claim 1 with said gathered conversations to generate updated Automatic Conversational AI Configuration (“Configuration”) and re-train said ACAI System using said Configuration by invoking part of the method in claim 3.
