Repository navigation
Replies: 1 comment 2 replies
|
Thanks @rk042, interesting idea. On speed: a checkpoint parses one short reply, so it’s tiny next to the model call. The main argument I see is Rust apps and gateways that don’t want a Python runtime. The hard part is keeping two implementations behaving the same, given all the parser edge cases in the changelog. I’d start with a language-neutral conformance suite (raw reply → expected result), which would help any port and 0.6.0. I’m putting this in “Later” for now. A question for you: what would make BOOTH easiest to adopt in the projects you build? For example a Rust crate, a CLI, a small HTTP service, or just better docs and recipes? I’d rather hear what blocks you than guess. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi @Vedantgitbot, I wanted to float an idea for later. Would it be useful to offer BOOTH as a Rust library alongside the Python version?
A Rust library would let developers add BOOTH’s checks directly to Rust apps and AI gateways without adding a Python runtime. Those apps could keep using whichever local model or hosted LLM provider they already use. BOOTH’s current approach already fits that idea because the application provides the model call.
Performance is another reason I’m curious about Rust. A published JSON parsing benchmark reported 0.11 seconds for Rust with Serde and 1.5 seconds for Python on its test workload. For BOOTH, a fair comparison would run the same saved LLM replies through both versions and measure the checkpoint time separately from the model’s response time. Study, Table 1
A small starting point could be the evidence check, like catching an AI answer that says a refund window is 90 days when the policy says 45. Would this be useful for BOOTH users who build in Rust?
All reactions