# How to Build a Typed AI Pipeline With Jev and Clairic.

DevFeed: [How to Build a Typed AI Pipeline With Jev and Clairic.](<https://devfeed.tech/articles/how-to-build-a-typed-ai-pipeline-with-jev-and-clairic-112456.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/how-to-build-a-typed-ai-pipeline-with-jev-and-clairic/>)

Author: Matthew Duffin

Published: 2026-11-02T03:19:45Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [TypeScript](<https://devfeed.tech/topics/typescript.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [1-5](<https://devfeed.tech/tags/1-5.md>), [1-7](<https://devfeed.tech/tags/1-7.md>), [2](<https://devfeed.tech/tags/2.md>), [2026](<https://devfeed.tech/tags/2026.md>), [22](<https://devfeed.tech/tags/22.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [account](<https://devfeed.tech/tags/account.md>), [added](<https://devfeed.tech/tags/added.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [airlines](<https://devfeed.tech/tags/airlines.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [automation](<https://devfeed.tech/tags/automation.md>), [build](<https://devfeed.tech/tags/build.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [jev](<https://devfeed.tech/tags/jev.md>), [null](<https://devfeed.tech/tags/null.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [reading](<https://devfeed.tech/tags/reading.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

The excerpt demonstrates a TypeScript support inbox pipeline that uses Jev from TypeSafe to classify intent, urgency, and whether a person should intervene, while Clairic from Cloudflare extracts typed values such as order numbers, refund amounts, and dates. Both APIs are called in parallel; ordinary code then applies routing rules and confidence thresholds, so uncertain values can be treated as unknown and sent to a person. The example pins Jev's version, anchors relative dates with Clairic's reference_date, and normalizes copied text spans such as order numbers in code. In the reported five-email run, Clairic guessed two relative dates with low confidence, and the thresholds prevented them from affecting actions. The excerpt notes Clairic is in preview, Jev's thresholds need validation on real data, and neither model writes replies; a chat model may still be needed when customer-facing language is required.

## Source excerpt

null Continue reading How to Build a Typed AI Pipeline With Jev and Clairic. on SitePoint.