Originally created by @shivanipatel7 on GitHub (Apr 30, 2024).
I'm using a model that has a small context window. I want to either truncate the conversation so only the last few messages are passed into the context or pass in a summarization from the conversation into the context to help with this. Does anyone know the best way to implement this?
Originally created by @shivanipatel7 on GitHub (Apr 30, 2024).
I'm using a model that has a small context window. I want to either truncate the conversation so only the last few messages are passed into the context or pass in a summarization from the conversation into the context to help with this. Does anyone know the best way to implement this?
@tjbck commented on GitHub (Jun 30, 2024):
Here's a simple context clipping filter enabled by the newly introduced "Functions" feature: https://openwebui.com/f/hub/context_clip_filter Hope this helps!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @shivanipatel7 on GitHub (Apr 30, 2024).
I'm using a model that has a small context window. I want to either truncate the conversation so only the last few messages are passed into the context or pass in a summarization from the conversation into the context to help with this. Does anyone know the best way to implement this?
@tjbck commented on GitHub (Apr 30, 2024):
Duplicate #1268, Let's continue our discussion there!
@tjbck commented on GitHub (Jun 30, 2024):
Here's a simple context clipping filter enabled by the newly introduced "Functions" feature: https://openwebui.com/f/hub/context_clip_filter Hope this helps!