# US 2026/0064973 A1 · Using community detection to automatically partition semantically similar llms chat sessions

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

- Number: US 2026/0064973 A1
- Document ID: US20260064973A1
- Status: Published application
- Kind: A1
- Application number: 18/826,028
- Filed: 2024-09-05
- Published: 2026-03-05
- Earliest claimed: 2024-09-05
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Ítalo Gomes Santana; Diego Vrague Noble; Miguel Paredes Quiñones; Roberto Nery Stelling Neto; Vicente J.P. Amorim
- Web page: https://patentgrep.com/patent/US20260064973A1

## CPC

- G06F 40/35: Discourse or dialogue representation
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One example method includes for each of one or more interactions of a chat session between a user and a chatbot, performing a building phase that comprises mapping the interaction into either a graph or an n-dimensional space, performing a verification phase that comprises partitioning the chat session, and using partitions of the chat session obtained during the verification phase to generate a subject-wise summarization of the chat session and/or to generate multiple chat sessions.

## Claims

### Claim 1

A method, comprising:
for each of one or more interactions of a chat session between a user and a chatbot, performing a building phase that comprises mapping the interaction into either a graph or an n-dimensional space;
performing a verification phase that comprises partitioning the chat session; and
using partitions of the chat session obtained during the verification phase to generate a subject-wise summarization of the chat session and/or to generate multiple chat sessions.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the mapping comprises mapping the interactions into respective node representations.

### Claim 3 (depends on 2)

The method as recited in claim 2, wherein mapping the interactions into node representations comprises: computing a vector embedding for each of the interactions; comparing a respective distance of each of the vector embeddings with respective distances of existing nodes in a set of interactions, where each of the distances represents a respective similarity of one of the interactions with another of the interactions; based on the comparing, and for each of the interactions, creating a respective node in a graph to represent the interaction; and creating, in the graph, edges from each of the nodes to respective neighbors of the nodes.

### Claim 4 (depends on 3)

The method as recited in claim 3, wherein when one of the distances between two of the interactions is below a threshold, the nodes representing the two interactions are merged into a single node.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein when the interactions are mapped into a graph, the verification phase triggers use of a community detection algorithm that partitions the graph into mutually similar vertices which each correspond to a different respective subject of the chat session.

### Claim 6 (depends on 1)

The method as recited in claim 1, wherein the mapping comprises using a clustering algorithm to map the interactions into respective data points of the n-dimensional space.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein the subject-wise summarization comprises multiple summaries, each corresponding to a different respective subject of the chat session.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein the building phase and the verification phase are performed for each interaction of the chat session.

### Claim 9 (depends on 1)

The method as recited in claim 1, wherein each interaction comprises a respective query submitted by the user, and an answer to the query, and the answer is generated by an LLM (large language model) of the chatbot.

### Claim 10 (depends on 1)

The method as recited in claim 1, wherein the building phase and the verification phase are performed while maintaining adherence to a token budget of an LLM (large language model) of the chatbot.

### Claim 11

A non-transitory storage medium having stored therein instructions that are executable by one or more hardware processors to perform operations comprising:
for each of one or more interactions of a chat session between a user and a chatbot, performing a building phase that comprises mapping the interaction into either a graph or an n-dimensional space;
performing a verification phase that comprises partitioning the chat session; and
using partitions of the chat session obtained during the verification phase to generate a subject-wise summarization of the chat session and/or to generate multiple chat sessions.

### Claim 12 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein the mapping comprises mapping the interactions into respective node representations.

### Claim 13 (depends on 12)

The non-transitory storage medium as recited in claim 12, wherein mapping the interactions into node representations comprises: computing a vector embedding for each of the interactions; comparing a respective distance of each of the vector embeddings with respective distances of existing nodes in a set of interactions, where each of the distances represents a respective similarity of one of the interactions with another of the interactions; based on the comparing, and for each of the interactions, creating a respective node in a graph to represent the interaction; and creating, in the graph, edges from each of the nodes to respective neighbors of the nodes.

### Claim 14 (depends on 13)

The non-transitory storage medium as recited in claim 13, wherein when one of the distances between two of the interactions is below a threshold, the nodes representing the two interactions are merged into a single node.

### Claim 15 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein when the interactions are mapped into a graph, the verification phase triggers use of a community detection algorithm that partitions the graph into mutually similar vertices which each correspond to a different respective subject of the chat session.

### Claim 16 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein the mapping comprises using a clustering algorithm to map the interactions into respective data points of the n-dimensional space.

### Claim 17 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein the subject-wise summarization comprises multiple summaries, each corresponding to a different respective subject of the chat session.

### Claim 18 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein the building phase and the verification phase are performed for each interaction of the chat session.

### Claim 19 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein each interaction comprises a respective query submitted by the user, and an answer to the query, and the answer is generated by an LLM (large language model) of the chatbot.

### Claim 20 (depends on 11)

The non-transitory storage medium as recited in claim 11, wherein the building phase and the verification phase are performed while maintaining adherence to a token budget of an LLM (large language model) of the chatbot.
