Skip to content

Jev directory

typesafe-jev (Ruby)

A zero-dependency Ruby client for Jev: ask typed Noul, Choice and Score questions about your application state and get frozen, typed answers with probabilities, confidence and token usage. Pure Net::HTTP and JSON, so it fits plain Ruby and Rails alike.
Stars
1
Language
Ruby
License
MIT
Reading time
2 min
Published by
Community
Author
dtheofr
Last verified
Oct 2026

Highlights

  • Zero runtime dependencies — pure Ruby stdlib (Net::HTTP, JSON) — for Ruby 3.1 and newer, in plain Ruby and Rails alike.
  • Three frozen question objects: Noul for a yes/no probability, Choice for an option plus its full distribution, Score for a level plus legend.
  • Question ids are the hash keys you pass in and answers return under the same keys; invalid criteria raise ArgumentError at construction, before any HTTP call.
  • Typesafe::Jev.evaluate is the one-shot facade pinned to jev-latest; use Typesafe::Client directly to call another model.
  • Non-2xx responses raise typed errors carrying status, body, headers, request_id and a retryable? flag, all under Typesafe::APIError.

Quickstart

bash
gem install typesafe-jev

Watch out

Grounded on the truncated README and GitHub metadata (Ruby, MIT, CI on GitHub Actions) read on 2026-10-15; the capture ends inside the error-class table, so the full list of status errors is not reproduced and key setup is not shown. The 0.95, 0.88 and 296-token figures in the quickstart are illustrative sample output, not benchmark results.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai