TypeSafe.AI.Sdk
Community port of @typesafe-ai/sdk by Dario Kondratiuk.
TypeSafe’s System One models (including Jev) turn application state into structured Choice, Score, and Noul answers your code can use directly. This package is a .NET port — not an official TypeSafe product.
dotnet add package TypeSafe.AI.Sdkusing TypeSafe.AI.Sdk;
using var client = new TypeSafeClient();var response = await client.SystemOneAsync( new { document = "I was charged twice. Please fix this ASAP." }, ("category", Question.Choice("What is this ticket about?", ("billing", null), ("technical", null), ("other", null))));
Console.WriteLine(response.GetChoice("category").Choice);Next steps
Section titled “Next steps”Getting startedInstall, environment variables, and a first request.
QuestionsChoice, Score, Noul, and Box.
ImagesExperimental image support.
ConfigurationOptions, retries, timeouts, and compression.
Dependency injectionRegister ITypeSafeClient with IServiceCollection.
API referenceGenerated from the TypeSafe.AI.Sdk library.
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API