<?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: Lukas Rieder</title>
    <description>The latest articles on DEV Community by Lukas Rieder (@overbryd).</description>
    <link>https://dev.to/overbryd</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%2F2052754%2Ff674362c-44b7-4fee-8e73-7bd5f8efe4a7.png</url>
      <title>DEV Community: Lukas Rieder</title>
      <link>https://dev.to/overbryd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/overbryd"/>
    <language>en</language>
    <item>
      <title>The best thing since sliced bread: AI for Google Sheets™ (Open Source)</title>
      <dc:creator>Lukas Rieder</dc:creator>
      <pubDate>Tue, 10 Sep 2024 13:29:33 +0000</pubDate>
      <link>https://dev.to/overbryd/the-best-thing-since-sliced-bread-ai-for-google-sheets-5fk2</link>
      <guid>https://dev.to/overbryd/the-best-thing-since-sliced-bread-ai-for-google-sheets-5fk2</guid>
      <description>&lt;p&gt;Hi, my name is Lukas, and I’ve been a professional Data Engineer for over 10 years. My career has been spent building proper data warehouse setups and replacing the chaos of spreadsheets. Ironically, here I am, writing about how Google Sheets is now my go-to tool for prototyping large language model integrations.&lt;/p&gt;




&lt;p&gt;Having built plenty of Python LangChain integrations, I’ve often found the boilerplate annoying. All I want is to prototype some simple, explorative tasks with language models. Sure, ChatGPT’s web interface is decent for quick prompts, but when you need to explore data-driven queries or template chains, it doesn’t quite hit the mark.&lt;/p&gt;

&lt;p&gt;Then I realized Google Sheets might be more useful than expected. One day, I sat down and thought, "What if I could just write &lt;code&gt;=Q(prompt)&lt;/code&gt; in a sheet?" And there it was: An incredibly simple way to perform OpenAI queries without needing any Python setups. After a bit of fiddling with the &lt;a href="https://developers.google.com/apps-script/reference/properties/" rel="noopener noreferrer"&gt;Properties Service&lt;/a&gt;, for storing the OpenAI key, I had a tool that makes rapid exploration easy.&lt;/p&gt;

&lt;p&gt;The more I played with this setup, the more I enjoyed its flexibility. With Google Sheets, I can manipulate data, evaluate outputs, and iterate quickly—all in one place. It’s the best of both worlds: rapid prototyping and data-driven workflows without the usual Python hassles.&lt;/p&gt;

&lt;p&gt;If you’re curious, I’ve made the template and the Google Apps Script open source. &lt;strong&gt;You can grab it here for free: &lt;a href="https://parlant.xyz/l/google-sheets-chatgpt-function" rel="noopener noreferrer"&gt;Google Sheets ChatGPT Function&lt;/a&gt;&lt;/strong&gt;. All you need is an OpenAI API key, and you’re ready to go.&lt;/p&gt;

&lt;p&gt;Here is a GIF of &lt;strong&gt;Q&lt;/strong&gt; in action.&lt;br&gt;
With a few simple prompts, I can use the column header to generate content for each column based off the inputs of the adjacent cell.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6rnc68vhfcd36tcy3m70.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6rnc68vhfcd36tcy3m70.gif" alt="Image description" width="800" height="387"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;So here I am, after years of working to move businesses away from spreadsheets, now advocating for them. For this specific use case, at least. &lt;strong&gt;Turns out, sometimes the simplest tools really are the best.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>openai</category>
      <category>googlesheets</category>
      <category>python</category>
      <category>langchain</category>
    </item>
  </channel>
</rss>
