<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Json-Schema on 编程心语</title>
		<link>https://www.ithome.me/tags/json-schema/</link>
		<description>Recent content in Json-Schema on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Sat, 01 Aug 2026 19:19:06 +0000</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/json-schema/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>LLM 结构化输出实战：用 JSON Schema 约束大模型返回可靠数据</title>
				<link>https://www.ithome.me/post/2026/08/02/llm-structured-output-json-schema/</link>
				<pubDate>Sun, 02 Aug 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/08/02/llm-structured-output-json-schema/</guid>
				<description>&lt;h2 id=&#34;为什么需要结构化输出&#34;&gt;为什么需要结构化输出&lt;/h2&gt;&#xA;&lt;p&gt;接入大模型后最头疼的问题：你让它&amp;quot;提取订单信息&amp;quot;，它给你返回一段带语气词、Markdown 代码块、甚至把键名从 &lt;code&gt;order_id&lt;/code&gt; 改成 &lt;code&gt;orderId&lt;/code&gt; 的自由文本。下游程序一解析就崩。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
