# US 2021/0174803 A1 · Developer platform for providing automated assistant in new domains

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

- Number: US 2021/0174803 A1
- Document ID: US20210174803A1
- Status: Published application
- Kind: A1
- Application number: 17/183,156
- Filed: 2021-02-23
- Published: 2021-06-10
- Earliest claimed: 2017-03-02
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: David Leo Wright Hall; Daniel Klein; David Ernesto Heekin Burkett; Jordan Rian Cohen; Daniel Lawrence Roth
- Web page: https://patentgrep.com/patent/US20210174803A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F 40/295: Named entity recognition
- G06F 40/35: Discourse or dialogue representation
- G06F 40/56: Natural language generation
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 2015/223: {Execution procedure of a spoken command}
- 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 that provides a sharable language interface for implementing automated assistants in new domains and applications. A dialogue assistant that is trained in a first domain can receive a specification in a second domain. The specification can include language structure data such as schemas, recognizers, resolvers, constraints and invariants, actions, language hints, generation template, and other data. The specification data is applied to the automated assistant to enable the automated assistant to provide interactive dialogue with a user in a second domain associated with the received specification. In some instances, portions of the specification may be automatically mapped to portions of the first domain. By having the ability to learn new domains and applications through receipt of objects and properties rather than retooling the interface entirely, the present system is much more efficient at learning how to provide interactive dialogue in new domains than previous systems.

## Claims

### Claim at position 1

1-19. (canceled)

### Claim 20

A method for providing an automated assistant for a specific domain, comprising:
receiving a domain-specific specification including a description of a constraint for the automated assistant, the automated assistant previously trained with training data corresponding to the domain-specific specification;
using a previously-trained semantic parser to map the description of the constraint to a constraint template; and
enabling the automated assistant to conduct interactive dialogue based on the constraint template and general features derived from the previous training with the training data and domain-specific features for a domain indicated in the domain-specific specification.

### Claim 21 (depends on 20)

The method of claim 20, wherein the training data is for a first domain and wherein the domain-specific specification is for a second domain different than the first domain.

### Claim 22 (depends on 20)

The method of claim 20, further comprising recognizing an application programming interface (API) request to extend the automated assistant with a new action based on the description of the constraint.

### Claim 23 (depends on 22)

The method of claim 22, further comprising outputting a description of the new action based on the description of the constraint.

### Claim 24 (depends on 20)

The method of claim 20, further comprising recognizing an application programming interface (API) request to ask a user a clarifying question based on the description of the constraint, and using the previously-trained semantic parser to extract disambiguating information from a user utterance based on the description of the constraint.

### Claim 25 (depends on 20)

The method of claim 20, wherein the description of the constraint is a natural language text string.

### Claim 26 (depends on 25)

The method of claim 25, wherein the previously-trained semantic parser includes a natural language model and wherein mapping the description of the constraint to the constraint template is based on parsing the natural language text string using the natural language model.

### Claim 27 (depends on 26)

The method of claim 26, wherein conducting the interactive dialogue includes receiving a user query, using the previously-trained semantic parser to map the user query to a user constraint by parsing the user query with the natural language model, and outputting a response based on the user constraint and the constraint template.

### Claim 28 (depends on 20)

The method of claim 20, wherein conducting the interactive dialogue includes determining a user constraint based on a user query, and outputting a response based on the user constraint and the constraint template.

### Claim 29 (depends on 28)

The method of claim 28, wherein outputting the response based on the user constraint includes generating an application programming interface (API) request to retrieve information about an entity that matches the user constraint according to the constraint template.

### Claim 30 (depends on 28)

The method of claim 28, wherein the response based on the user constraint includes a set of candidate results, each candidate result in the set of candidate results satisfying the user constraint according to the constraint template.

### Claim 31 (depends on 28)

The method of claim 28, wherein the response based on the user constraint includes an error indicating the user constraint could not be satisfied according to the constraint template.

### Claim 32 (depends on 31)

The method of claim 31, wherein the error is based on an incompatibility between the user constraint and an invariant specified by the constraint template.

### Claim 33 (depends on 32)

The method of claim 32, wherein the invariant is a formal language invariant.

### Claim 34 (depends on 32)

The method of claim 32, wherein the invariant is a natural language invariant.

### Claim 35 (depends on 30)

The method of claim 30, wherein the constraint template defines a cost curve based on the description of the constraint, the cost curve indicating a range of satisfactory costs for different candidate results in the set of candidate results.

### Claim 36 (depends on 35)

The method of claim 35, wherein the constraint template includes a violable constraint, and wherein the constraint template is satisfiable when the violable constraint is violated and the cost for violating the violable constraint is within the range of satisfactory costs.

### Claim 37 (depends on 35)

The method of claim 35, wherein the cost curve is a user-specific cost curve.

### Claim 38

A method for providing an automated assistant for a specific domain, comprising:
receiving a domain-specific specification including a natural language text string describing a constraint for the automated assistant, the automated assistant previously trained with training data corresponding to the domain-specific specification;
using a previously-trained semantic parser including a natural language model to parse the natural language text string using the natural language model and to generate a constraint template based on the parsed natural language text string; and
enabling the automated assistant to conduct interactive dialogue based on the constraint template and general features derived from the previous training with the training data and domain-specific features for a domain indicated in the domain-specific specification.

### Claim 39

A method for providing an automated assistant for a specific domain, comprising:
receiving a domain-specific specification including a description of a constraint for the automated assistant, the automated assistant previously trained with training data corresponding to the domain-specific specification, wherein the training data is for a first domain and wherein the domain-specific specification is for a second domain different than the first domain;
using a previously-trained semantic parser to map the description of the constraint to a constraint template; and
enabling the automated assistant to conduct interactive dialogue based on the constraint template and general features derived from the previous training with the training data and domain-specific features for a domain indicated in the domain-specific specification.
