jevbooks

← All projects

typesafe-go

zhirschtritt/typesafe-go · Homepage

Unofficial Go SDK for the TypeSafe v1 API.

What it is

A small, dependency-free Go client for the TypeSafe v1 API, covering System One calls and model discovery. Aimed at Go developers who want to call TypeSafe from Go without pulling in extra dependencies.

How it uses Jev

Callers pass a state map plus typed questions built with typesafe.Noul, typesafe.Choice, and typesafe.Score to client.SystemOne. The response exposes NoulAnswer, ChoiceAnswer, and ScoreAnswer, which return the probability, chosen entry, and score for each question.

Primitives:choicescorenoul

Technique worth stealing

Unknown answer types from newer service versions are preserved as *typesafe.UnknownAnswer with raw JSON instead of being discarded.

Try it

go get github.com/zhirschtritt/typesafe-go, then call typesafe.NewClient and client.SystemOne.

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-centricno0.02
  • Shows a System One patternno0.05
  • Handles uncertaintyno0.02
  • Measuredno0.03
  • Runnableyes0.98
  • Worth recommendingno0.03
  • Model replicano0.04
  • Problem scopescore on a 0–2 scale1.01
  • About Jevyes0.83

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