Back to all updates
Integrations

Trace Jev in TypeScript

The TypeScript SDK now traces TypeSafe AI's Jev calls as decision spans with model, tokens and cost.

A Jev call traced in traceroot as a decision span, showing jev-1.13.0, token usage, cost, and the question and answer.

You can now trace Jev, TypeSafe AI's decision model, from TypeScript. Each call appears as a decision span with the resolved model version, input and output tokens, and cost, next to the questions Jev was asked and the answers and probabilities it returned.

Upgrade to @traceroot-ai/traceroot 0.5.0 and pass the TypeSafe SDK to initialize:

ts
import * as typeSafe from "@typesafe-ai/sdk";
import { TraceRoot } from "@traceroot-ai/traceroot";

TraceRoot.initialize({ instrumentModules: { typeSafe } });

Every systemOne call made after that is traced. See the release notes for details.

Start tracing your Jev calls in traceroot today.

Trust
SecurityTrust Center PrivacyTermsCookie settings

Essential storage keeps the site working. You can choose whether to allow product analytics.