The letter

One letter a week, starting soon.

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
Qiita (LLM)Japan

Ollamaのformat=jsonで構造化出力を安定させる:実測と検証の書き方

11.22

はじめに LLMの出力をそのままプログラムで使うと、前置きやMarkdownのコードフェンスが混ざって json.loads() が失敗します。Ollamaの format: "json" は、JSONだけを返すようモデルに制約できます。 この記事では、実際に構造化出力を...

Open weights
Read at Qiita (LLM) ↗

Related

More from Qiita (LLM) on Accept All.