<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Few-Shot on AI 观察</title><link>https://ai.wujiong.cc/tags/few-shot/</link><description>Recent content in Few-Shot on AI 观察</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 10 Jul 2026 14:25:34 +0800</lastBuildDate><atom:link href="https://ai.wujiong.cc/tags/few-shot/index.xml" rel="self" type="application/rss+xml"/><item><title>少样本提示（Few-shot）：示例怎么选、放几个、如何避免副作用</title><link>https://ai.wujiong.cc/posts/2026-07-10-few-shot-prompting/</link><pubDate>Fri, 10 Jul 2026 14:25:34 +0800</pubDate><guid>https://ai.wujiong.cc/posts/2026-07-10-few-shot-prompting/</guid><description>&lt;p>有些要求很难用文字描述清楚：一种特定的写作风格、一种复杂的分类规则、一种自定义的输出格式。这时，&lt;strong>与其写一大段说明，不如直接给模型看几个例子。&lt;/strong> 这种在提示词中提供少量输入输出示例的方法，被称为少样本提示（Few-shot Prompting）。它简单有效，但如果使用不当，也会带来意想不到的副作用。&lt;/p></description></item></channel></rss>