<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: andrew-lastmile</title>
    <description>The latest articles on DEV Community by andrew-lastmile (@andrewlastmile).</description>
    <link>https://dev.to/andrewlastmile</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1226065%2F400bece0-ce6e-47a1-9aab-9dbccfe966dd.jpeg</url>
      <title>DEV Community: andrew-lastmile</title>
      <link>https://dev.to/andrewlastmile</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andrewlastmile"/>
    <language>en</language>
    <item>
      <title>Config vs. Code in Gen AI</title>
      <dc:creator>andrew-lastmile</dc:creator>
      <pubDate>Tue, 05 Dec 2023 22:45:38 +0000</pubDate>
      <link>https://dev.to/andrewlastmile/config-vs-code-in-gen-ai-3bal</link>
      <guid>https://dev.to/andrewlastmile/config-vs-code-in-gen-ai-3bal</guid>
      <description>&lt;p&gt;&lt;strong&gt;Has the time finally come for Config and Code to come together for developing Gen AI applications?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fBpzhtsl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0rzf4kpvvhy6zhhj9dk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fBpzhtsl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0rzf4kpvvhy6zhhj9dk.png" alt="Image description" width="697" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;For countless years, we've had numerous debates about whether ML should be more config-driven or more code-driven. There are pros and cons to both:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Attribute&lt;/th&gt;
&lt;th&gt;Code&lt;/th&gt;
&lt;th&gt;Config&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Iteration speed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Con: usually slower iteration speed especially as the code base gets more complicated&lt;/td&gt;
&lt;td&gt;Pro: faster to iterate and adjust configurations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Debugging&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pro: easier to identify and fix issues within a single place&lt;/td&gt;
&lt;td&gt;Con: can be difficult to navigate in between code and config to isolate issues&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Maintenance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Con: code maintenance can become complex without clean organization and abstractions&lt;/td&gt;
&lt;td&gt;Pro: configs are already abstractions of critical settings of the application&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dependency Management&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pro: libraries and dependencies are usually better managed&lt;/td&gt;
&lt;td&gt;Con: dependency issues are more common due to implicit dependencies&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Given the nature of Generative AI enabling more model settings, parameters, and prompts requiring to be iterated upon, it's opened up the opportunity for Code + Config to come together to enable a better Gen AI developer experience.&lt;/p&gt;

&lt;p&gt;We open-sourced a library, &lt;a href="https://github.com/lastmile-ai/aiconfig"&gt;AI Config&lt;/a&gt;, that blends the experience together to create a seamless way to develop GenAI applications while managing GenAI components within a configuration. Let us know what you think!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/lastmile-ai/aiconfig"&gt;Github repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4Fxd6PFa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fkpg7m16a6orn8e2ly5r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4Fxd6PFa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fkpg7m16a6orn8e2ly5r.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>config</category>
      <category>ai</category>
      <category>mlops</category>
    </item>
    <item>
      <title>Config vs. Code in Gen AI</title>
      <dc:creator>andrew-lastmile</dc:creator>
      <pubDate>Tue, 05 Dec 2023 22:45:31 +0000</pubDate>
      <link>https://dev.to/andrewlastmile/config-vs-code-in-gen-ai-5fc0</link>
      <guid>https://dev.to/andrewlastmile/config-vs-code-in-gen-ai-5fc0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Has the time finally come for Config and Code to come together for developing Gen AI applications?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fBpzhtsl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0rzf4kpvvhy6zhhj9dk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fBpzhtsl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0rzf4kpvvhy6zhhj9dk.png" alt="Image description" width="697" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;For countless years, we've had numerous debates about whether ML should be more config-driven or more code-driven. There are pros and cons to both:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Attribute&lt;/th&gt;
&lt;th&gt;Code&lt;/th&gt;
&lt;th&gt;Config&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Iteration speed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Con: usually slower iteration speed especially as the code base gets more complicated&lt;/td&gt;
&lt;td&gt;Pro: faster to iterate and adjust configurations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Debugging&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pro: easier to identify and fix issues within a single place&lt;/td&gt;
&lt;td&gt;Con: can be difficult to navigate in between code and config to isolate issues&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Maintenance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Con: code maintenance can become complex without clean organization and abstractions&lt;/td&gt;
&lt;td&gt;Pro: configs are already abstractions of critical settings of the application&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dependency Management&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pro: libraries and dependencies are usually better managed&lt;/td&gt;
&lt;td&gt;Con: dependency issues are more common due to implicit dependencies&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Given the nature of Generative AI enabling more model settings, parameters, and prompts requiring to be iterated upon, it's opened up the opportunity for Code + Config to come together to enable a better Gen AI developer experience.&lt;/p&gt;

&lt;p&gt;We open-sourced a library, &lt;a href="https://github.com/lastmile-ai/aiconfig"&gt;AI Config&lt;/a&gt;, that blends the experience together to create a seamless way to develop GenAI applications while managing GenAI components within a configuration. Let us know what you think!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/lastmile-ai/aiconfig"&gt;Github repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4Fxd6PFa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fkpg7m16a6orn8e2ly5r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4Fxd6PFa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fkpg7m16a6orn8e2ly5r.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>config</category>
      <category>ai</category>
      <category>mlops</category>
    </item>
  </channel>
</rss>
