A drop-in wrapper that exposes Upstage Solar Pro4 (default; solar-mini4 optional) through the TypeSafe Jev System One API shape.
POST /v1/systemone
{ "model": "solar-mini4-jev", "state": "...", "questions": { ... } }
Supported question types: noul | choice | score (same schema as Jev).
Hosted BYOK endpoint — no deploy needed to try it:
- API: https://solar-mini4-jev.vercel.app
- Health: https://solar-mini4-jev.vercel.app/health
- Docs / examples: https://hunkim.github.io/solar-mini4-jev/
- LLM reference: https://hunkim.github.io/solar-mini4-jev/llms.txt
curl -s https://solar-mini4-jev.vercel.app/v1/systemone \
-H "Content-Type: application/json" \
-H "X-Upstage-Api-Key: $UPSTAGE_API_KEY" \
-d '{
"model": "solar-mini4-jev",
"state": "Payment success rate dropped to 12%.",
"questions": {
"urgent": {"type": "noul", "instructions": "Should on-call be paged immediately?"}
}
}'Bring your own Upstage API key. The server does not store it.
| benchmark | Jev 1.13.0 | solar-decide (TBA) | solar-mini4 | solar-pro4 |
|---|---|---|---|---|
| jev-benchmark: tool-call risk (60) | 91.7 | 88.3 | 90.0 | 93.3 |
| classifier-benchmark v1 (78) | 97.4 | 91.0 | 89.7 | 97.4 |
| Jevals: HelpSteer2 (300) | 38.3 | 34.7 | 34.0 | 41.0 |
| test400 (448) | 94.6 | 93.5 | 90.8 | 95.1 |
| total, item-weighted (886) | 75.6 | 73.0 | 71.4 | 76.9 |
| p50 latency (measured from Korea) | 633ms | 324ms | 424ms | 749ms |
* Disclaimer: results use a subset of public Jev benchmarks.
Machine-readable API reference: llms.txt
The live API is Bring Your Own Key. The server never stores your Upstage key.
# local
uvicorn server:app --host 0.0.0.0 --port 8092
# call (System One shape)
curl -s https://solar-mini4-jev.vercel.app/v1/systemone \
-H "Content-Type: application/json" \
-H "X-Upstage-Api-Key: $UPSTAGE_API_KEY" \
-d '{
"model": "solar-mini4-jev",
"state": "Payment success rate dropped to 12%.",
"questions": {
"urgent": {"type": "noul", "instructions": "Should on-call be paged immediately?"}
}
}'Auth headers (any one):
X-Upstage-Api-Key: <upstage_key>Authorization: Bearer <upstage_key>
Deploy:
npx vercel@latest --prodRoutes:
GET /— scorecard (static)GET /health— livenessPOST /v1/systemone— System One API (BYOK)
No UPSTAGE_API_KEY is required in Vercel project env for production BYOK. Optional env only for local/dev convenience.
export UPSTAGE_API_KEY=...
pip install -r requirements.txt
uvicorn server:app --host 0.0.0.0 --port 8080from engine import system_one
out = system_one(
state="Payment success rate dropped to 12%.",
questions={"urgent": {"type": "noul", "instructions": "Should on-call be paged immediately?"}},
)
print(out["answers"])Environment variables:
UPSTAGE_API_KEY— Upstage API key (required).solar-pro4currently resolves tosolar-pro4-260806.TYPESAFE_API_KEY— only for calling the real Jev during benchmarks (jev_ref.py, usesjev-latest, which resolved tojev-1.13.0for this run)SOLAR_MINI_MODEL— base model, defaultsolar-pro4(solar-mini4is faster but less accurate)- Reasoning is always
none; the model answers with a single option letter.
| path | description |
|---|---|
engine.py |
Jev System One questions → Solar chat, default solar-pro4 (lettered-option prompt) |
server.py |
FastAPI POST /v1/systemone |
jev_ref.py |
Real Jev client (for comparison) |
docs/index.html |
API usage page (GitHub Pages) |
Experimental / research code. Do not commit API keys.