Netlify’s launch guide installs the TypeSafe SDK without separate provider credentials and builds a Function that routes contact forms through a bounded Choice.
Original by NetlifyIntegrationsOfficial changelogOriginal published Source reviewed
Before you dive in
What you’ll find in the original
Install @typesafe-ai/sdk in a Netlify project; AI Gateway supplies credentials and bills usage through Netlify credits.
Send program state and typed questions; Choice, Score, and Noul are evaluated against the same state in parallel.
Declare route destinations up front, branch directly on the returned Choice, and escalate low-confidence results rather than inventing another destination.
Worth knowing
The 70–500 ms response-time range is reported by TypeSafe and not measured by Netlify or JevMade; the SDK requires Node.js 20 or newer.