You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add samples showing how to manage Chat History #8518
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?
Activity
jonpopa commentedon Sep 4, 2024
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:
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.
Thanks in advance!
Ion
.Net: Samples showing how to manage Chat History (#8954)
github-actions commentedon Dec 5, 2024
This issue is stale because it has been open for 90 days with no activity.