Feature request: prompt compression for reducing LLM token costs in document processing

Open
#4,379 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python

Research direction

The issue links to the SuperCompress library and its demo but does not identify a file, test, or integration point in this repository. First read the project’s document processing and inference paths to determine where prompt compression could fit. Done would require a defined integration scope and acceptance criteria, which the issue does not provide.

Written by the indexing model from the issue text.

Description

SuperCompress: Open-Source Prompt Compression

SuperCompress is an MIT-licensed prompt compression library that reduces LLM token costs by ~65% before inference. ~5K parameter CPU policy, 100% oracle recall. pip install supercompress.

Live demo: https://supercompress.dev | GitHub: https://github.com/arjunkshah/supercompress

Dominant language
HTML
Stars
15.8k
Forks
1.4k
Avg merge
8d 4h
Merged PRs (30d)
40

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Unstructured-IO/unstructured

All issues in Unstructured-IO/unstructured

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.