Status: [UNTESTED] Endpoints found: http://localhost:11100/v1/systemone http://localhost:80/v1/systemone Source: https://github.com/zushicat/classifier2jevschema # classifier2jevschema — a Jev-compatible proxy for the local Parallel Constrained Decision Engine This is a drop-in Jev proxy for a local classifier: FastAPI adapter that exposes TypeSafe's POST /v1/systemone API (noul/choice/score questions) on top of a locally hosted Parallel Constrained Decision Engine, so any typesafe.ai-compatible client works offline by just changing the base URL. This app translates between the i/o schema used by the local classifier engine ([harshatheg/Qwen-2.5-1B-RLCD](https://huggingface.co/harshatheg/Qwen-2.5-1B-RLCD)) and TypeSafe AI's [Jev](https://docs.typesafe.ai/api) i/o schema. A client built against the Jev API (curl, the TypeSafe SDKs, any HTTP client) only has to change the base URL to `http://localhost:11100` and gets the same request/response shape, the same answer types (`noul` / `choice` / `score`), and the same error semantics. ``` [ source api :9321 ] <-- context+schema -- [ classifier2jevschema :11100 ] <-- state+model+questions -- [ client ] [ source api :9321 ] -- parsed_json+telemetry -> [ classifier2jevschema :11100 ] -- model+answers+usage -> [ client ] ``` ## What is Qwen-2.5-1B-RLCD anyway? From the 🤗 page: "A high-throughput inference engine for structured information extraction, decision routing, and categorical classification on Apple Silicon using MLX." So, this is basically an inference engine that turns the default LLM `mlx-community/Qwen2.5-1.5B-Instruct-4bit` into a fast-running classifier which can be easily served on your local machine. ## So what's the problem? No actual problem, but it would be nice to be able to use the same schema as [Jev](https://docs.typesafe.ai/api). That way, when using Qwen-2.5-1B-RLCD, your application layer doesn't need any adaptations for any API endpoints except setting the URL. ## Installation ### 1 — install the source engine (harshatheg/Qwen-2.5-1B-RLCD) ``` git clone https://huggingface.co/harshatheg/Qwen-2.5-1B-RLCD.git cd parallel-constrained-decoding p