jevbooks

← All projects

ruby_llm-typesafe

kieranklaassen/ruby_llm-typesafe

TypeSafe provider for RubyLLM 2 with typed, probabilistic answers.

What it is

A RubyLLM 2 provider for TypeSafe, which runs Jev, a System One model that returns probabilities for typed questions instead of text. For Ruby developers building structured-output applications.

How it uses Jev

Jev answers Noul (true/false probability), Choice (option probabilities), and Score (weighted scale position) questions about a state. Build questions with RubyLLM::Providers::TypeSafe::Schema, pass to chat.with_schema, call ask with state, read response.parsed.

Primitives:noulchoicescore

Technique worth stealing

Use structured instructions and criteria (JSON Hashes/Arrays) to pin down multi-part questions and taxonomies.

Try it

Add gem 'ruby_llm-typesafe' to Gemfile, configure typesafe_api_key, build schema, call chat.with_schema(schema).ask(state).

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricyes0.92
  • Shows a System One patternyes0.80
  • Handles uncertaintyno0.04
  • Measuredno0.05
  • Runnableyes0.95
  • Worth recommendingno0.28
  • Model replicano0.04
  • Problem scopescore on a 0–2 scale1.00
  • About Jevyes0.98

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.