Skip to content
System One

AbdelStark/s1-rs

Rust derive layer that turns ordinary enums and structs into Choice, Score and Noul questions and returns compile-time-checked answers. Results carry confidence, so a policy can gate on it before acting.

AbdelStark/s1-rs on GitHub

Stars
1
Forks
0
Language
Rust
License
MIT
Last push
16 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

let url = serve_json(json!({
    "model": "jev-latest",
    "answers": {
        "department": {
            "type": "choice",
            "choice": "billing",
            "probabilities": {
                "billing": 0.91,
                "technical": 0.05,
                "sales": 0.04
            },
            "confidence": 0.91
        },
        "frustration": {
            "type": "score",

View in crates/s1/tests/typesafe_rs_backend.rs

Open on GitHub

PrimitivesChoiceScoreNoul

More like this

Keep browsing