SDKs & clients

ruby_decision_model

@obie★ 45RubyMITupdated 2026-09-18▶ runnable

Ruby client for decision models such as Typesafe Jev

obie/ruby_decision_model ↗

Where it calls Jev

"https://api.typesafe.ai"

lib/ruby_decision_model/providers/typesafe.rb:22

The link points at the commit we read, so the line number still holds.

What it asks Jev

These question sets are lifted from this project's source exactly as written.

from test/client_test.rb:143

  1. urgenttrue/false

    Is this urgent?

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    urgent: { type: 'boolean', instructions: 'Is this urgent?' },
  },
});

Other projects in this category