<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Structured Output on 每日拍拍</title>
    <link>https://dailypypy.org/tags/structured-output/</link>
    <description>Recent content in Structured Output on 每日拍拍</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-tw</language>
    <copyright>© 2026 每日拍拍</copyright>
    <lastBuildDate>Mon, 12 Oct 2026 11:53:00 +0800</lastBuildDate><atom:link href="https://dailypypy.org/tags/structured-output/index.xml" rel="self" type="application/rss+xml" />
    <follow_challenge>
      <feedId>155076163427069952</feedId>
      <userId>154825760438254592</userId>
    </follow_challenge>
    
    
    <item>
      <title>MLX-LM 結構化 JSON：Schema、Pydantic 驗證與 Repair/Retry</title>
      <link>https://dailypypy.org/learn/mlx-lm-structured-json-validation/</link>
      <pubDate>Mon, 12 Oct 2026 11:53:00 +0800</pubDate>
      
      <guid>https://dailypypy.org/learn/mlx-lm-structured-json-validation/</guid>
      <description>&lt;!---
1440x768
prompt: masterpiece, best quality, highres, clean anime illustration, japanese anime style, soft shading, flat color design, 1girl, black hair, green eyes, white off-shoulder shirt, black short skirt, upper body, gentle low angle three-quarter view, leaning slightly forward while carefully aligning three translucent blank geometric cards with both hands, focused analytical expression with a small satisfied smile, looking at viewer, pastel lavender and pale peach background, subtle nested frames and tidy check-shaped light accents without symbols, logos, markings, numbers, letters, or text, neat composition, detailed eyes, cute and smart vibe, minimal background, polished illustration, no text
negative prompt: worst quality, bad eye, bad hand, extra limbs, manga, multiple views, monochrome, text, signature
---&gt;
&lt;!-- 這是純文字 MLX-LM 的 schema-constrained generation 與驗證管線；不同於既有 MLX-VLM 圖片批次文章，也不重複一般 MLX-LM 批次推論。 --&gt;
&lt;p&gt;





&lt;figure&gt;
    &lt;img class=&#34;my-0 rounded-md&#34; loading=&#34;lazy&#34; alt=&#34;featured&#34; src=&#34;./featured.png&#34; /&gt;

  
&lt;/figure&gt;
&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://dailypypy.org/learn/mlx-lm-structured-json-validation/featured.png" />
    </item>
    
    <item>
      <title>MLX-VLM 批次圖片實戰：Caption、結構化擷取與結果驗證</title>
      <link>https://dailypypy.org/learn/mlx-vlm-batch-structured-output/</link>
      <pubDate>Wed, 16 Sep 2026 10:57:00 +0800</pubDate>
      
      <guid>https://dailypypy.org/learn/mlx-vlm-batch-structured-output/</guid>
      <description>&lt;!---
1440x768
prompt: masterpiece, best quality, highres, clean anime illustration, japanese anime style, soft shading, flat color design, 1girl, black hair, green eyes, white off-shoulder shirt, black short skirt, from below low angle, full body, pointing upward with one hand while the other hand rests at her side, determined cheerful expression, looking at viewer, seafoam background, subtle floating translucent blank image tiles and rounded schema cards without symbols, logos, markings, or text, neat composition, detailed eyes, cute and smart vibe, minimal background, polished illustration, no text
negative prompt: worst quality, bad eye, bad hand, extra limbs, manga, multiple views, monochrome, text, signature
dedup note: Planned 2026-09-16 topic `mlx-vlm-batch-structured-output` passed a strict 163-post inventory and current-source scan. ../mlx-vlm-image-chat/ covers interactive single/multi-image questions, preprocessing, chat templates, and Vision Feature Cache; ../mlx-lm-batch-inference/ covers text-only JSONL prompts, sampling grids, and local evaluation. This focused follow-up instead builds an image-manifest pipeline around the MLX-VLM server, multimodal JSON Schema constrained output, Pydantic validation, quarantine records, resumable JSONL output, and batch-level quality checks. It does not repeat the older installation, chat, multi-image comparison, cache, or text-only parameter-grid tutorials.
source check: Reviewed against the current official MLX-VLM README, usage guide, and PyPI metadata on 2026-09-16. PyPI lists mlx-vlm 0.7.1 with Python &gt;=3.10. The official server documents multimodal `json_schema` structured outputs, continuous batching, and OpenAI-compatible chat/responses endpoints; structured outputs are not currently compatible with speculative decoding.
---&gt;
&lt;p&gt;





&lt;figure&gt;
    &lt;img class=&#34;my-0 rounded-md&#34; loading=&#34;lazy&#34; alt=&#34;featured&#34; src=&#34;./featured.png&#34; /&gt;

  
&lt;/figure&gt;
&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://dailypypy.org/learn/mlx-vlm-batch-structured-output/featured.png" />
    </item>
    
  </channel>
</rss>
