Skip to content

Jev directory

TypeSafe AI Go SDK

A Go client for TypeSafe AI whose wire format and default retries follow the Python SDK v0.6.0 with a smaller Go-native API: send noul, choice and score questions in one SystemOne call and read typed results, usage counts and the request ID.
Stars
0
Language
Go
License
MIT
Reading time
2 min
Published by
Community
Author
Radix ILS
Last verified
Oct 2026

Highlights

  • Questions map names to Noul, Choice, Score or raw JSON objects; results come back as Nouls, Choices and Scores with model, usage and request ID.
  • Defaults to https://api.typesafe.ai and jev-latest; options override TYPESAFE_API_KEY, TYPESAFE_BASE_URL and TYPESAFE_DEFAULT_MODEL in order, last wins.
  • Three attempts by default with a 10-second timeout per attempt; the default HTTP client does not follow redirects and WithMaxAttempts(1) disables retries.
  • Requires Go 1.26 or later; clients are safe for concurrent calls and RawAnswers retains every answer's original JSON, including unknown types.
  • Noul answers expose the probability of yes; Choice probabilities are label-keyed; usage counts are *int64 so zero is distinguishable from missing.

Quickstart

bash
go get github.com/RadixILS-Dev/typesafe-sdk-go
export TYPESAFE_API_KEY='your-api-key'
go run ./examples/basic

Watch out

Grounded in the truncated repository README and GitHub metadata reviewed on 2026-10-15; no benchmarks, pricing or call volumes are published, the results section is cut off after RawAnswers, and the digest shows 0 stars even though the README attributes the project to Radix ILS.

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