Skip to content
System One

mattneel/typesafe (Elixir)

Idiomatic Elixir client for the TypeSafe AI API with configuration-driven auth, retries, telemetry and test support. Returns judgments as data structures the caller thresholds itself.

mattneel/typesafe on GitHub

Stars
1
Forks
0
Language
Elixir
License
MIT
Last push
17 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

%TypeSafe.Response{
  model: "jev-1.13.0",
  request_id: "req_01a0ac97618c76898e35b41bf6d9aa5e",
  raw: %{...},
  answers: %{
    is_urgent: %TypeSafe.Answer.Noul{noul: 0.95},
    department: %TypeSafe.Answer.Choice{
      choice: :billing,
      confidence: 0.81,
      probabilities: %{billing: 0.87, technical: 0.13, sales: 0.0}
    },
    frustration: %TypeSafe.Answer.Score{
      score: 1.05,
      confidence: 0.93,
      legend: %{0 => "Calm", 1 => "Frustrated", 2 => "Very angry"},

View in README.md

Open on GitHub

More like this

Use cases this is tagged with