TypeSafe.AI.Sdk

Hardkoded community port of @typesafe-ai/sdk.

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.Sdk
using 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