# US 2021/0112178 A1 · Machine-learning command interaction

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

- Number: US 2021/0112178 A1
- Document ID: US20210112178A1
- Status: Published application
- Kind: A1
- Application number: 16/499,030
- Filed: 2017-04-25
- Published: 2021-04-15
- Earliest claimed: 2017-04-25
- Assignees: Hewlett-Packard Development Company, L.P.
- Applicants: Hewlett-Packard Development Company, L.P.
- Inventors: Christian Perone; Thomas Paula; Roberto Pereira Silveira
- Web page: https://patentgrep.com/patent/US20210112178A1

## CPC

- G06N 3/08: Learning methods
- H04N 1/32784: {using a voice request}
- G06F 16/3329: Natural language query formulation
- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- H04N 1/00352: {Input means (H04N1/00411 takes precedence; input arrangements for computers G06F3/00)}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Examples disclosed herein relate to receiving a query via a chat interaction, translating the received query into one of a set of predefined commands according to a trained machine-learning model, and providing a result of the one of the set of predefined commands to the chat interaction.

## Claims

### Claim 1

A system, comprising:
a memory storing:
a language model engine to:
translate a received query into one of a set of predefined commands according to a trained model; and
an interaction engine to:
receive a query from a user,
receive the predefined command from the language model engine, and
provide a response to the query to the user according to the predefined command received from the language model engine.

### Claim 2 (depends on 1)

The system of claim 1, wherein the trained model comprises a machine-learning model trained on a plurality of natural language documents.

### Claim 3 (depends on 2)

The system of claim 2, wherein the machine-learning model comprises a word embedding model.

### Claim 4 (depends on 1)

The system of claim 1, wherein the interaction engine receives the query from the user via a chat interface.

### Claim 5 (depends on 1)

The system of claim 1, wherein translating the received query into one of the set of predefined commands comprises converting each word of the received query into a multi-dimensional vector representation.

### Claim 6 (depends on 5)

The system of claim 5, wherein translating the received query into one of the set of predefined commands further comprises calculating a word mover distance between each word of the received query and each word of a catalog of words associated with the set of predefined commands.

### Claim 7 (depends on 1)

The system of claim 1, wherein translating the received query into one of the set of predefined commands further comprises identifying the one of the set of predefined commands comprising a lowest word distance with respect to the received query.

### Claim 8 (depends on 1)

The system of claim 1, wherein the set of predefined commands comprise commands associated with a printing device.

### Claim 9 (depends on 8)

The system of claim 8, wherein the system comprises the printing device.

### Claim 10 (depends on 8)

The system of claim 8, wherein the interaction engine is in communication with the printing device.

### Claim 11

A method comprising:
receiving a query via a chat interaction;
translating the received query into one of a set of predefined commands according to a trained machine-learning model; and
providing a result of the one of the set of predefined commands to the chat interaction.

### Claim 12 (depends on 11)

The method of claim 11, wherein the trained machine-learning model comprises a plurality of vector-represented word embeddings extracted from a plurality of natural language documents.

### Claim 13 (depends on 11)

The method of claim 11, wherein translating the received query into one of the set of predefined commands comprises identifying a semantically closest command of the set of predefined commands to the received query.

### Claim 14 (depends on 13)

The method of claim 13, wherein the chat interaction is provided by a printing device.

### Claim 15

A non-transitory machine readable medium storing instructions executable by a processor to:
train a machine-learning model comprising a plurality of vector-represented word embeddings extracted from a plurality of natural language documents;
create a set of predefined commands associated with a printing device;
extract a vector representation of each of the set of predefined commands according to the machine-learning model;
receive a query from a user via a chat interface;
identify a semantically closest one of the set of predefined commands to the received query according to the machine-learning model; and
provide a response to the query according to the one of the set of predefined commands via the chat interface.
