Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More options for history compression in pipelines #1059

Open
snopoke opened this issue Jan 17, 2025 · 0 comments
Open

More options for history compression in pipelines #1059

snopoke opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request pipelines Issue is related to pipelines

Comments

@snopoke
Copy link
Collaborator

snopoke commented Jan 17, 2025

Give pipeline authors options for how history is compressed. In the UI this should be presented as a dropdown + additional field under the advanced editor. The node should display the configured mode in small text below the history dropdown.

Modes

summarize to < X tokens

If the prompt is > X tokens, summarize the history but keep the last N messages

truncate < X tokens

If the prompt is > X tokens, truncate the history until it is < X tokens

truncate to last N messages

Always truncate the history to the last N messages

@snopoke snopoke moved this to Prioritized in OpenChatStudio Jan 17, 2025
@snopoke snopoke moved this from Prioritized to 🔖 Ready in OpenChatStudio Jan 21, 2025
@snopoke snopoke added enhancement New feature or request good first issue Good for newcomers pipelines Issue is related to pipelines and removed good first issue Good for newcomers labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pipelines Issue is related to pipelines
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant