Skip to content

Jev directory

Jev TypeScript demo

A TypeScript SDK demo for Jev, TypeSafe's System One model: 14 numbered scenarios teach how to prepare state, write questions and use answers, with root examples that ask whether a customer message sounds frustrated and flag it for review.
Stars
20
Language
TypeScript
Reading time
2 min
Published by
Community
Author
gopinav
Last verified
Oct 2026

gopinav/jev-demo

User repository on GitHub

View on GitHub

Jev + TypeScript SDK demo

Forks
9
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

Highlights

  • 14 numbered scenarios in three groups — preparing state, writing questions, using answers — each in its own folder and ordered for sequential runs.
  • Covers object-versus-string state, Noul versus Choice, when to Score, narrow questions, one-call batching and extracting a value without text generation.
  • Root examples are demo.ts, which asks whether a customer message sounds frustrated, and all-questions.ts, which sends Noul, Choice and Score together.
  • Results are live rather than mocked, so numbers vary between runs; the README frames thresholds and weights as examples to replace with your own.
  • Requires Node.js 22+, TypeSafe access and an API key in .env; 20 stars, 9 forks, created 2026-09-19, pushed 2026-09-26, with no license declared.

Quickstart

bash
npm ci
cp .env.example .env
npm run scenario 1-state/01-object-over-string/001-plain-string.ts

Watch out

README reviewed 2026-10-17 and complete for setup and scenario listing, but it publishes no measured success rates — sample results vary per run by design and the thresholds are illustrative. The digest's license field is empty, so no open-source license is declared for this demo.

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