Copilot Engine for Multi-User Chat Sessions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current large language model (LLM) backed chat applications are limited by linear, sequential chat sessions with fixed turn limits, restricted context due to token limitations, and inability to support multi-user, multi-step activities effectively.

Innovation Solution

The implementation of a science platform that utilizes a copilot engine to facilitate multi-user and multi-step activities by sharing a single chat session with multiple LLMs, allowing for dynamic updates, long-running conversations, and maintenance of context across multiple threads and side conversations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If LLM-backed chat applications use linear sequential chat sessions with fixed turn limits, then the system structure remains simple and manageable, but the ability to support multi-user multi-step activities and maintain context is limited

Engineering Contradiction:
Improveability to support multi-user multi-step activitiesVSAvoidchat session structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The chat session is segmented into multiple independent threads, each representing a separate conversation stream. This allows the system to handle multi-user multi-step activities by distributing context across multiple threads while maintaining the simplicity of individual linear chat sessions within each thread.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system transitions from a single-dimensional linear chat session to a multi-dimensional structure by introducing threads as an additional dimension. This enables parallel conversation streams to coexist, supporting complex multi-user activities without increasing the complexity of individual chat sessions.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Duration of action of moving object

If LLM context is limited to token capacity, then memory usage remains controlled, but long-running conversations and maintenance of context across multiple threads become difficult

Engineering Contradiction:
Improveduration of chat sessionVSAvoidcontext loss in long-running conversations
Core Design Contradiction:
Duration of action of moving objectVSLoss of information

Solution Approach 1:

The system extracts and stores chat session metadata and context information in external storage structures beyond the LLM's token-based memory. This allows long-running conversations to maintain context across sessions by retrieving stored information rather than relying solely on in-memory token context.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary actions by pre-processing and storing chat session context, metadata, and conversation history in structured formats before they are needed. This enables efficient retrieval and maintenance of context in long-running conversations without overwhelming the LLM's token capacity during active sessions.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If chat sessions are limited to a fixed number of turns, then system resources remain manageable, but collaborative activities requiring extended interactions are restricted

Engineering Contradiction:
Improvecollaborative activity efficiencyVSAvoidchat session duration
Core Design Contradiction:
ProductivityVSDuration of action of moving object

Solution Approach 1:

The system enables continuous chat sessions that can run indefinitely by implementing automatic context management, thread persistence, and state preservation mechanisms. This allows collaborative activities to continue without artificial turn limits, maintaining productivity while managing resources through efficient context handling.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS12218890B2Copilot for multi-user, multi-step collaborations
Publication Date: 2025.02.04 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12218890B2 patent drawing
  • US12218890B2 patent drawing
  • US12218890B2 patent drawing

AI summary

The present disclosure relates to methods and systems for sharing with a plurality of users a chat session that uses large language models to provide responses for input messages received for the chat session. The methods and systems provide access to the chat session to the users and update the chat session in response to any changes made to the chat session by any of the users. The methods and systems allow the users to resume the chat session at a future time using the chat session history.