AIPython★ 308
jia-gao/leanctx
COMPRESS PROMPTS BY 60%
leanctx — drop-in prompt compression for LLM applications. Reduces tokens by 40-60% without changing code.
// KEY FEATURES
- Drop-in integration, no code changes
- Token compression 40-60%
- Python SDK based on LLMLingua-2
- MIT license, 308 stars on GitHub
#anthropic#cost-optimization#gemini#langchain#langgraph#llm#llm-inference#llmlingua#openai#prompt-compression#python#rag
Open on GitHub →New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram