

LLMSlim v0.3.0
Cut LLM token costs 40-70% with offline prompt compression
什麼是 LLMSlim v0.3.0?
v0.3.0 ships hybrid prompt compression: offline TF-IDF extraction pre-prunes context, then an optional LLM rewrite pass semantically optimizes what remains. Result: 40-70% fewer tokens billed, sub-30ms CPU latency, and 100% retention of system directives, code blocks, and JSON schemas. Works with OpenAI, Anthropic, Gemini, LangChain, LlamaIndex, Ollama and more. Zero dependencies. Pure Python. pip install llmslim
截圖
?
還沒有評論,來搶沙發吧!
X 上關於 LLMSlim v0.3.0 的真實討論
去 X 發文

