Jev integration · TypeScript

A typed Jev integration for production-minded JavaScript teams.

Keep the question, choices, and returned decision explicit in your TypeScript boundary.

JevClassify is an independent tool and is not affiliated with, sponsored by, or endorsed by TypeSafe AI.

Quick answer

How do I use Jev with TypeScript?

Define your category union, send the input through the approved AI Gateway flow, validate the provider response, and keep human review for consequential decisions.

Minimal typed boundary

type Category = "Billing" | "Technical" | "Sales" | "Other";
const choices: Category[] = ["Billing", "Technical", "Sales", "Other"];
const result = await experimental_evaluate({
  model: "typesafe-ai/jev",
  providerOptions: { typesafeai: { question: "Which category fits?", choices } },
  input: text
});

Need a production decision? Validate the provider contract, rate limits, and safety requirements before shipping.

Try the live classifier