Skip to content

Add samples showing how to manage Chat History #8518

Closed

Description

Provide some samples to address the following questions:

  1. What are the strategies to manage chat history when it goes out of context?
  2. How to manage buffer and condensate informations?

Activity

  1. jonpopa commented on Sep 4, 2024

    @jonpopa

    Hi there, here are a couple of annotations based on the previous questions:

    Q1. When chat history grows too long, and responses start becoming irrelevant or confusing, we need strategies to maintain coherent context by either truncate the history or summarize older parts of the conversation.
    In this case:

    • How do we handle older chat history to keep it relevant for long conversations?
    • How can we reintroduce older context if a user suddenly refers back to it?

    Q2. We'd like to use a buffer system where the recent N messages are stored for context, while older messages are either summarized or archived for future reference.

    • How could we ensure important context isn’t lost when condensing long conversations?
    • How could we dynamically adjust the buffer size when the user shifts topics frequently?

    Thanks in advance!
    Ion

  2. added
    sk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
    on Sep 5, 2024
  3. moved this from Sprint: In Review to Sprint: Done in Semantic Kernelon Nov 4, 2024
  4. github-actions commented on Dec 5, 2024

    @github-actions
    Contributor

    This issue is stale because it has been open for 90 days with no activity.

  5. added
    staleIssue is stale because it has been open for a while and has no activity
    on Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

IgniteFeatures planned for next Ignite conferencechat historysamplessk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)staleIssue is stale because it has been open for a while and has no activity

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions