<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>上下文工程 on Mi&amp;Bee Blog</title><link>/tags/%E4%B8%8A%E4%B8%8B%E6%96%87%E5%B7%A5%E7%A8%8B/</link><description>Recent content in 上下文工程 on Mi&amp;Bee Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>蓝宝石的傻话</managingEditor><lastBuildDate>Sun, 10 Nov 2024 00:00:00 +0000</lastBuildDate><atom:link href="/tags/%E4%B8%8A%E4%B8%8B%E6%96%87%E5%B7%A5%E7%A8%8B/rss.xml" rel="self" type="application/rss+xml"/><item><title>从提示到上下文：为什么只说清楚远远不够</title><link>/posts/aihelper/from-prompt-to-context/</link><pubDate>Thu, 15 Aug 2024 00:00:00 +0000</pubDate><guid>/posts/aihelper/from-prompt-to-context/</guid><description>&lt;h2 id="一个让人沮丧的场景"&gt;一个让人沮丧的场景&lt;/h2&gt;
&lt;p&gt;想象这个场景：你正在编写一个关于&amp;quot;Python MySQL连接最新最佳实践&amp;quot;的完美提示词。你精心设计了角色设定（&amp;ldquo;你是一位有10年经验的Python数据库专家&amp;rdquo;）、明确的指令（&amp;ldquo;只提供2024年的最佳实践，不要过时的方法&amp;rdquo;）、具体的格式要求（&amp;ldquo;列出主要方法、优缺点、代码示例、安全注意事项&amp;rdquo;）。&lt;/p&gt;</description></item><item><title>上下文工程：让 AI 拥有正确的知识</title><link>/posts/aihelper/context-engineering-guide/</link><pubDate>Sun, 10 Nov 2024 00:00:00 +0000</pubDate><guid>/posts/aihelper/context-engineering-guide/</guid><description>&lt;h2 id="什么是上下文工程"&gt;什么是上下文工程？&lt;/h2&gt;
&lt;p&gt;2025 年 6 月，Andrej Karpathy 在 OpenAI 工程博客上给出了上下文工程的定义：&lt;strong&gt;&amp;ldquo;the delicate art and science of filling the context window with just the right information for the model to take the next step.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;这一定义非常精辟。与提示工程（Prompt Engineering）的核心区别在于：&lt;/p&gt;</description></item></channel></rss>