Who it is forA support lead or an AI agent that triages incoming messages and needs a routing decision for each one.
The problemRouting messages by hand is slow, and a single hard label hides how sure the model is.
The outcomeA department probability for each message, read from the Choice result, plus a chat endpoint on the same service for follow-up replies.
What you need first
- A local model directory supported by SGLang, Transformers, or MLX (Apple Silicon)
- For the SGLang path: Linux with a supported NVIDIA GPU
- Python with uv or pip, as described in the Installation guide
- A text or image input to decide on
Steps
git clone https://github.com/Yinsongxu/LLM2Jev.gitcd LLM2Jevuv sync --extra sglangsource .venv/bin/activatellm2jev-serve --backend sglang --model-path /path/to/model --served-model-name local-model --host 127.0.0.1 --port 30000, then run the client example from the README with your ticket text instate(inferred, check the README)
Prompt for your agent
Using the LLM2Jev repo, start the SGLang service with the model at <model-path>, then call client.systemone.create with the ticket text <ticket-text> and a Choice over the departments <department-list>. Return the probability for each department as JSON. Verify that the probabilities sum to about 1 before reporting.
Caveat. The README's quick start needs an NVIDIA GPU on Linux for SGLang, and the model must be one that SGLang supports.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page