# US 2025/0094429 A1 · Intelligent grouping of messages into conversation documents for ranking and retrieval

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

- Number: US 2025/0094429 A1
- Document ID: US20250094429A1
- Status: Published application
- Kind: A1
- Application number: 18/467,724
- Filed: 2023-09-14
- Published: 2025-03-20
- Earliest claimed: 2023-09-14
- Assignees: Glean Technologies, Inc.
- Applicants: Glean Technologies, Inc.
- Inventors: Krishnan Raghavan; Piyush Prahladka; Hemant Kumar Chodipilli; Prashant Kumar; Yash Chandnani; Debarghya Das
- Web page: https://patentgrep.com/patent/US20250094429A1

## CPC

- G06F 16/24578: {using ranking}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/248: Presentation of query results
- G06F 16/285: {Clustering or classification}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and apparatuses for identifying groups of electronic messages, generating conversation documents using the groups of electronic messages, and indexing the conversation documents to improve search ranking and retrieval for content contained within the electronic messages are described. In some cases, understanding the contents of a group of electronic messages may require context from outside the group of electronic messages, such as context provided by electronic messages outside of the group of electronic messages or context provided by electronic documents linked to by messages of the group of electronic messages. The identification of a group of electronic messages includes detecting a conversation boundary that separates a first set of messages from a second set of messages, which may be determined using machine learning approaches or various heuristics.

## Claims

### Claim 1

A system, comprising:
a hardware storage device configured to store a search index; and
one or more processors in communication with the storage device configured to:
acquire a first message, the first message is assigned to a first group of messages;
acquire a second message;
determine a first time that the first message was posted to a chat channel and a second time that the second message was posted to the chat channel;
determine a maximum number of messages per grouping based on a number of users who have posted messages to the chat channel within a threshold period of time;
detect that the second message should be assigned to a second group of messages different from the first group of messages based on the first time that the first message was posted to the chat channel, the second time that the second message was posted to the chat channel, and the maximum number of messages per grouping;
identify an electronic document referenced by the second group of messages;
generate a summary of the electronic document using a generative model;
generate a second conversation document corresponding with the second group of messages that includes the summary of the electronic document;
store the second conversation document within the search index;
acquire a search query;
identify a set of relevant documents from the search index using the search query, the set of relevant documents includes the second conversation document;
rank the set of relevant documents; and
display at least a subset of the set of relevant documents based on the ranking of the set of relevant documents.

### Claim 2 (depends on 1)

The system of claim 1, wherein:
the one or more processors are configured to detect a conversation boundary between the first group of messages and the second group of messages in response to detection that the second message should be assigned to the second group of messages different from the first group of messages.

### Claim 3 (depends on 2)

The system of claim 2, wherein:
the one or more processors are configured to detect the conversation boundary between the first group of messages and the second group of messages using a machine learning model.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The system of claim 1, wherein:
the one or more processors are configured to determine a first user identifier associated with the first posting of the first message and a second user identifier associated with the posting of the second message; and
the one or more processors are configured to detect that the second message should be assigned to the second group of messages different from the first group of messages based on the first user identifier associated with the first posting of the first message and the second user identifier associated with the posting of the second message.

### Claim 6 (depends on 1)

The system of claim 1, wherein:
the one or more processors are configured to identify a first subject matter classification for the first group of messages and a second subject matter classification for the second message; and
the one or more processors are configured to detect that the second message should be assigned to the second group of messages different from the first group of messages based on the first subject matter classification for the first group of messages and the second subject matter classification for the second message.

### Claim 7

(canceled)

### Claim 8

(canceled)

### Claim 9

(canceled)

### Claim 10 (depends on 1)

The system of claim 1, wherein:
the first group of messages comprises a set of contiguous messages within a messaging application.

### Claim 11 (depends on 1)

The system of claim 1, wherein:
the second message comprises a root message for the second group of messages.

### Claim 12 (depends on 1)

The system of claim 1, wherein:
the first group of messages comprises messages from a first application; and
the second group of messages comprises messages from a second application.

### Claim 13 (depends on 1)

The system of claim 1, wherein:
the one or more processors are configured to detect that the first group of messages has exceeded the maximum number of messages per grouping and detect that the second message should be assigned to the second group of messages different from the first group of messages based on detection that the first group of messages has exceeded the maximum number of messages per grouping.

### Claim 14 (depends on 13)

The system of claim 13, wherein:
the threshold period of time comprises one hour.

### Claim 15

A method for operating a search system, comprising:
receiving a first message that is assigned to a first group of messages;
receiving a second message;
determining a first time that the first message was posted to a chat channel;
determining a second time that the second message was posted to the chat channel;
determining a maximum number of messages per grouping based on a number of users who have posted messages to the chat channel;
detecting that the second message should be assigned to a second group of messages different from the first group of messages based on the first time that the first message was posted to the chat channel, the second time that the second message was posted to the chat channel, and the maximum number of messages per grouping;
identifying an electronic document referenced by the second group of messages;
generating a summary of the electronic document using a generative model;
generating a second conversation document corresponding with the second group of messages that includes the summary of the electronic document;
storing the second conversation document within a search index;
acquiring a search query;
identifying a set of relevant documents from the search index using the search query, the set of relevant documents includes the second conversation document; and
displaying at least a subset of the set of relevant documents.

### Claim 16 (depends on 15)

The method of claim 15, wherein:
the detecting that the second message should be assigned to the second group of messages different from the first group of messages includes detecting that the second message should be assigned to the second group of messages using a machine learning model.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
determining a first subject matter classification associated with contents of the first message;
determining a second subject matter classification associated with contents of the second message; and
detecting that the second message should be assigned to the second group of messages based on the first subject matter classification and the second subject matter classification.

### Claim 18

(canceled)

### Claim 19

(canceled)

### Claim 20

One or more non-transitory storage devices containing processor readable code for configuring one or more processors to perform a method for operating a search system, wherein the processor readable code configures the one or more processors to:
acquire a first message from a messaging application, the first message is assigned to a first group of messages;
acquire a second message from the messaging application;
determine a first time that the first message was posted within the messaging application;
determine a second time that the second message was posted within the messaging application;
determine a maximum number of messages per grouping based on a number of users who have posted message within the messaging application;
detect that the second message should be assigned to a second group of messages different from the first group of messages based on the first time that the first message was posted within the messaging application, the second time that the second message was posted within the messaging application, and the maximum number of messages per grouping;
identify an electronic document referenced by the second group of messages;
generate a summary of the electronic document using a generative model;
generate a second conversation document corresponding with the second group of messages;
store the second conversation document within a search index;
acquire a search query;
identify a set of relevant documents from the search index using the search query, the set of relevant documents includes the second conversation document; and
display at least a portion of the set of relevant documents.
