# US 2025/0219980 A1 · Topic suggestion in messaging systems

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

- Number: US 2025/0219980 A1
- Document ID: US20250219980A1
- Status: Published application
- Kind: A1
- Application number: 19/085,840
- Filed: 2025-03-20
- Published: 2025-07-03
- Earliest claimed: 2022-03-02
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Webber Po-Wei LEE; Daniil SOKOLOV; Jaclyn Ruth Elizabeth PHILLIPS; Yi ZHANG; Jennifer Oliva EDE; Shoou-Jiun WANG; Tracy My Tuyen NGUYEN
- Web page: https://patentgrep.com/patent/US20250219980A1

## CPC

- G06F 40/30: Semantic analysis
- H04L 51/21: Monitoring or handling of messages
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 40/237: Lexical tools
- G06F 40/279: Recognition of textual entities
- G06F 40/35: Discourse or dialogue representation
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- H04L 51/214: using selective forwarding
- H04L 51/18: Commands or executable codes
- 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

Embodiments are provided for suggesting topics in a messaging system. A set of queries is received from a chat transcript history, where the set of queries includes a set of unhandled queries, and each unhandled query comprises a query for which a bot did not identify a corresponding topic (e.g., queries that did not trigger selection of a topic by the bot). A vector representation is generated for each unhandled query in the set of unhandled queries. The vector representations for the set of unhandled queries are clustered to generate one or more clusters of vector representations, each cluster corresponding to a group of unhandled queries. A corresponding suggested topic is generated for each cluster and provided to an authoring tool that comprises one or more interactive elements to enable an author to select at least one of the suggested topics for implementation in the bot.

## Claims

### Claim 1

A system for suggesting a topic in a messaging system, the system comprising:
a processor; and
a memory device that stores program code structured to cause the processor to:
generate a vector representation for each unhandled query in a set of unhandled queries, each unhandled query comprising an interaction between a user and a virtual agent in which the virtual agent did not select a correspondence topic;
cluster the vector representations for the set of unhandled queries to generate a plurality of clusters of vector representations, each cluster corresponding to a group of unhandled queries; and
provide a suggested topic corresponding to one of the clusters to an authoring tool that comprises an interactive element to add the suggested topic to a set of topics implemented in the virtual agent,
wherein a selection of the interaction element configures the virtual agent to access the set of topics that includes the suggested topic in a future conversation involving the virtual agent.

### Claim 2 (depends on 1)

The system of claim 1, wherein the virtual agent utilizes natural language processing to simulate human interaction with a user.

### Claim 3 (depends on 1)

The system of claim 1, wherein the program code is structured to cause the processor to cluster the vector representations by generating groupings based on an unsupervised clustering algorithm.

### Claim 4 (depends on 1)

The system of claim 1, wherein the program code is further structured to provide, to the authoring tool, a suggested trigger phrase that corresponds to the suggested topic, wherein the virtual agent is configured to select the selected topic in response to receiving a query that is semantically similar with the suggested trigger phrase.

### Claim 5 (depends on 4)

The system of claim 4, wherein the suggested trigger phrase is based on an unhandled query that is at a center of a cluster corresponding to the suggested topic.

### Claim 6 (depends on 1)

The system of claim 1, wherein the program code is further structured to provide, to the authoring tool, a plurality of suggested trigger phrases that correspond to the suggested topic.

### Claim 7 (depends on 1)

The system of claim 1, wherein the program code is further structured to provide, to the authoring tool, a score for the suggested topic, the score indicative of a number of sessions in which an unhandled query corresponding to the suggested topic was observed in a conversation involving the virtual agent.

### Claim 8

A method for suggesting a topic in a messaging system, the method comprising:
generating a vector representation for each unhandled query in a set of unhandled queries, each unhandled query comprising an interaction between a user and a virtual agent in which the virtual agent did not select a correspondence topic;
clustering the vector representations for the set of unhandled queries to generate a plurality of clusters of vector representations, each cluster corresponding to a group of unhandled queries; and
providing a suggested topic corresponding to one of the clusters to an authoring tool that comprises an interactive element to add the suggested topic to a set of topics implemented in the virtual agent,
wherein a selection of the interaction element configures the virtual agent to access the set of topics that includes the suggested topic in a future conversation involving the virtual agent.

### Claim 9 (depends on 8)

The method of claim 8, wherein the virtual agent utilizes natural language processing to simulate human interaction with a user.

### Claim 10 (depends on 8)

The method of claim 8, wherein the clustering the vector representations comprises:
generating groupings based on an unsupervised clustering algorithm.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
providing, to the authoring tool, a suggested trigger phrase that corresponds to the suggested topic, wherein the virtual agent is configured to select the selected topic in response to receiving a query that is semantically similar with the suggested trigger phrase.

### Claim 12 (depends on 11)

The method of claim 11, wherein the suggested trigger phrase is based on an unhandled query that is at a center of a cluster corresponding to the suggested topic.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
providing, to the authoring tool, a plurality of suggested trigger phrases that correspond to the suggested topic.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
providing, to the authoring tool, a score for the suggested topic, the score indicative of a number of sessions in which an unhandled query corresponding to the suggested topic was observed in a conversation involving the virtual agent.

### Claim 15

A computer-readable storage medium having program instructions recorded thereon that, when executed by at least one processor of a computing device, perform a method, the method comprising:
generating a vector representation for each unhandled query in a set of unhandled queries, each unhandled query comprising an interaction between a user and a virtual agent in which the virtual agent did not select a correspondence topic;
clustering the vector representations for the set of unhandled queries to generate a plurality of clusters of vector representations, each cluster corresponding to a group of unhandled queries; and
providing a suggested topic corresponding to one of the clusters to an authoring tool that comprises an interactive element to add the suggested topic to a set of topics implemented in the virtual agent,
wherein a selection of the interaction element configures the virtual agent to access the set of topics that includes the suggested topic in a future conversation involving the virtual agent.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein the clustering the vector representations comprises:
generating groupings based on an unsupervised clustering algorithm.

### Claim 17 (depends on 15)

The computer-readable storage medium of claim 15, wherein the method further comprises:
providing, to the authoring tool, a suggested trigger phrase that corresponds to the suggested topic, wherein the virtual agent is configured to select the selected topic in response to receiving a query that is semantically similar with the suggested trigger phrase.

### Claim 18 (depends on 17)

The computer-readable storage medium of claim 17, wherein the suggested trigger phrase is based on an unhandled query that is at a center of a cluster corresponding to the suggested topic.

### Claim 19 (depends on 15)

The computer-readable storage medium of claim 15, wherein the method further comprises:
providing, to the authoring tool, a plurality of suggested trigger phrases that correspond to the suggested topic.

### Claim 20 (depends on 15)

The computer-readable storage medium of claim 15, wherein the method further comprises:
providing, to the authoring tool, a score for the suggested topic, the score indicative of a number of sessions in which an unhandled query corresponding to the suggested topic was observed in a conversation involving the virtual agent.
