Jev directory
CommunityJev Repos & SDKs
Gravicode TypeSafe SDK
Unofficial, strongly typed .NET 10 client for the TypeSafe System One API, ported from the official Python SDK. Covers choice, noul, score, and box questions, image assets, typed exceptions per status code, retry with jitter, and an offline simulator.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Targets .NET 10.0 and installs from NuGet as Gravicode.TypeSafeSdk version 1.2.0.
- Supports choice, noul, score, and box questions, with every answer carrying its full probability distribution.
- Typed exceptions per status code carry StatusCode, Body, Headers, Endpoint, and RequestId.
- Defaults to two retries with 25% jitter, honoring Retry-After inside a 30 s budget.
- Offline simulator answers choice, noul, and score questions deterministically with no key and no network.
Questions about this entry
Short answers drawn from the linked project or page.
Run dotnet add package Gravicode.TypeSafeSdk --version 1.2.0, or add a PackageReference or PackageVersion node for version 1.2.0. The package targets .NET 10.0 and is compatible with that framework or higher.
No. It is an unofficial, strongly typed .NET 10 client for the TypeSafe System One API, ported from the official Python SDK. Defaults such as retry behavior and zstd compression of bodies of 1 KB or more match the Python SDK.
Choice, noul, and score questions can be combined in one request, plus box questions for finding things in an image. Every answer carries its full probability distribution, so an ambiguous case is visible instead of hidden behind a single label.
Set Simulator = true in TypeSafeOptions. The simulator answers choice, noul, and score questions locally and deterministically with no key and no network. It is lexical rather than semantic, weights rare criteria words above common ones, honors negation, and abstains with a flat distribution when it finds no signal.
Two retries, 0.5 s backoff doubling to a 5 s ceiling with 25% jitter, retrying 408, 429, and 5xx responses, honoring Retry-After, inside a 30 s budget. Timeout, retry policy, and headers can be set in TypeSafeOptions and overridden per call.
Images are experimental and require the images opt-in header set to true. You build an ImageAsset from a file and pass it as an asset, and requests with images go out as multipart/form-data. A box schema returns coordinates you can convert to pixels with ToPixels.
Bodies of 1 KB or more are sent zstd-compressed, as the Python SDK does. If you route through a gateway that does not accept compressed bodies, set Compression = RequestCompression.None in the options.
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.