<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Modules on Programmer.ie</title>
    <link>http://programmer.ie/tags/modules/</link>
    <description>Recent content in Modules on Programmer.ie</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 28 Aug 2026 10:15:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/modules/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>DSPy From First Principles 02: A Prompt Is Not Yet a Program</title>
      <link>http://programmer.ie/books/dspy-from-first-principles/02-chapter/</link>
      <pubDate>Fri, 28 Aug 2026 10:05:00 +0100</pubDate>
      <guid>http://programmer.ie/books/dspy-from-first-principles/02-chapter/</guid>
      <description>&lt;h1 id=&#34;a-prompt-is-not-yet-a-program&#34;&gt;A Prompt Is Not Yet a Program&lt;/h1&gt;&#xA;&lt;p&gt;In chapter 1 we built a reasonable handwritten prompt and found the real problem: one prompt string was carrying the task semantics, role and behavioral framing, output request, and model assumptions at the same time.&lt;/p&gt;&#xA;&lt;p&gt;The next move is not to make a more elaborate prompt. It is to decide what properties an LM component needs before we should reasonably call it a program.&lt;/p&gt;</description>
    </item>
    <item>
      <title>DSPy From First Principles 04: Separate What From How</title>
      <link>http://programmer.ie/books/dspy-from-first-principles/04-chapter/</link>
      <pubDate>Fri, 28 Aug 2026 10:15:00 +0100</pubDate>
      <guid>http://programmer.ie/books/dspy-from-first-principles/04-chapter/</guid>
      <description>&lt;h1 id=&#34;separate-what-from-how&#34;&gt;Separate What From How&lt;/h1&gt;&#xA;&lt;p&gt;In chapter 3 we designed a stronger contract for sentence improvement. The signature names the inputs and outputs. It says what the LM should consume and produce.&lt;/p&gt;&#xA;&lt;p&gt;It still does not say how the LM should execute the task.&lt;/p&gt;&#xA;&lt;p&gt;That distinction is the main subject of this chapter.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                SAME CONTRACT&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;input ────────&amp;gt; Signature ────────&amp;gt; output&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    │&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;             execution policy&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              /           \&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         Predict       ChainOfThought&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Changing the task contract and changing the execution strategy are different operations. Treating them as the same operation is one reason prompt experiments become impossible to interpret.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
