Jev directory
CommunityJev Repos & SDKs
TimDinh.TypeSafe
MIT-licensed .NET 10 client for the TypeSafe evaluation API (POST /v1/systemone), compatible with the native API and the Vercel AI Gateway. Evaluates a state against typed questions and returns structured answers.
- Reading time
- 1 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Targets .NET 10.0 and declares no package dependencies.
- Calls POST /v1/systemone to evaluate a state against typed questions.
- Supports Noul (0-1), Choice, and Score question and answer types.
- Retries 429 and 529 responses with exponential backoff plus jitter, honoring Retry-After.
- Source-generated System.Text.Json keeps serialization reflection-free and AOT/trim safe.
Questions about this entry
Short answers drawn from the linked project or page.
Run dotnet add package TimDinh.TypeSafe --version 0.1.0, or add a PackageReference to version 0.1.0. The package targets .NET 10.0 and has no dependencies.
It posts to /v1/systemone on the TypeSafe evaluation API, sending a state plus a dictionary of typed questions and returning structured answers.
NoulQuestion returns a NoulAnswer with a 0-1 value. ChoiceQuestion returns Choice, Probabilities, and Confidence. ScoreQuestion returns Score, Legend, Probabilities, and Confidence.
429 and 529 responses are retried with exponential backoff plus jitter, honoring the Retry-After header. Other non-success responses throw TypeSafeApiException carrying StatusCode and ResponseBody.
Yes. You can register it with services.AddHttpClient<ITypeSafeClient, TypeSafeClient>(...) and pass a pooled client to avoid socket exhaustion. The client is thread-safe, so create it once and reuse it.
Yes. TypeSafeClientOptions takes an ApiKey, which is supplied when constructing the client, and the quick start shows a model value of jev-latest.
It is MIT licensed, version 0.1.0, published 9/21/2026, with 158 total downloads. The source repository is linked from the NuGet 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.