

Trimwise
Exact-budget, source-faithful context selection for prompts
什麼是 Trimwise?
Trimwise is an open-source Python library for selecting the most relevant, verbatim passages from a known source under exact token, word, or character budgets. It preserves source order and returns original character spans for auditability, with lexical, semantic, and hybrid selection modes. Built for RAG, agents, and prompt pipelines, with reproducible benchmarks and a public research artifact.
截圖
?
還沒有評論,來搶沙發吧!
X 上關於 Trimwise 的真實討論
去 X 發文




