Skip to content

.Net - Agents: Consolidated User History in Group Chat #7316

Closed

Description

@lavinir

History management is required in order to keep maintaining chat conversations as eventually potentially irrelevant context is still sent, but more importantly context size will run out.
There needs to be an option to make the history mutable while still maintaining a single source of truth that is synced between the owning group chat and the participating agents.
It would make the most sense, for the source of truth to be the chat owner - which is the group chat object.
Specifically, this would fit for handling the required functionality needed to reduce / truncate the existing history at that level and then having that history propagate down to the agents.

Activity

  1. madsbolaris commented on Jul 17, 2024

    @madsbolaris
    Member

    Today, we have a group chat which is connected to an agent via a "channel". In the Assisatnts API implementation, the channel connects to a "thread" object in the Assistants API service. OpenAI is then able to use that "thread" to do truncation and other summarization logic.

    If the "channel" for chat completion agents did something similar (e.g., a local thread), the developer could theoretically use that to do their own truncation and summarization that is separate from the "source of truth" in the group chat. Would that work for your needs?

  2. added
    .NETIssue or Pull requests regarding .NET code
    experimentalAssociated with an experimental feature
    and removed on Jul 17, 2024
  3. changed the title [-]New Feature: Consolidated User History in Group Chat[/-] [+].Net: New Feature: Consolidated User History in Group Chat[/+] on Jul 17, 2024
  4. changed the title [-].Net: New Feature: Consolidated User History in Group Chat[/-] [+].Net - Agents: Consolidated User History in Group Chat[/+] on Jul 17, 2024
  5. moved this to Backlog: Planned in Semantic Kernelon Jul 17, 2024
  6. crickman commented on Jul 17, 2024

    @crickman
    Contributor

    Yes. As the history for a ChatCompletionAgent grows, the ability to truncate according to various strategies becomes increasingly useful.

    • Summarization
    • Recent N
    • Custom
  7. moved this from Backlog: Planned to Sprint: In Progress in Semantic Kernelon Aug 1, 2024
  8. moved this from Sprint: In Progress to Sprint: In Review in Semantic Kernelon Aug 1, 2024
  9. moved this from Sprint: In Review to Sprint: Done in Semantic Kernelon Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codeagentsenhancementexperimentalAssociated with an experimental feature

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions