The letter

One letter a week, in your inbox.

The week's signal, what shipped, what is worth running tonight, and the editor's note. No tracking, no ads, nothing else.

We keep your address, your language and the date you joined, nothing else. Every letter has a one-click unsubscribe link that deletes the record.

← Accept All   Archive
Zenn (AI)Japan

TypeScript で Jev を型安全に呼ぶ:質問定義から回答の型を推論する小さなクライアントを作る

September 28

choice のラベルが union 型になり、noul の回答に .choice と書くとコンパイルエラーになる。TypeSafe の判断モデル Jev を fetch だけで扱う薄いラッパーの実装メモです。 はじめに TypeSafe AI の Jev は、文章を生成しない「判断専用」のモデルです。アプリの状態(state)と型付きの質問を送ると、次の3種類の値が返ってきます。

Languages & runtimes
Read at Zenn (AI) ↗

Related

More from Zenn (AI) on Accept All.