Recent review
View reviewsNo reviews yet.

Smart, source-faithful text trimming for high-signal LLM prompts.
Trimwise is an open-source Python library for query-aware prompt assembly.
Give it source text, a question, and a hard token, word, or character budget. Trimwise selects the most useful exact source passages, restores them in source order, and returns recoverable source spans for citation and provenance.
It is built for situations where the source is already known—repository excerpts, incident reports, policies, documentation, and institutional knowledge—but the full text does not belong in every LLM prompt.
Trimwise is not a RAG stack, vector database, search engine, answer generator, or summarizer. It is the small source-faithful preprocessing step between already-fetched text and prompt assembly.
No reviews yet.
No comments yet.
No milestones yet
Upvote and review this project
Sign up free to upvote, leave a review, and comment on what builders are shipping.
Join free
Save tokens and extend your coding sessions with this skill.
Reviews
No reviews yet. The builder hasn’t opened a review request yet.