fabian (@fabianstelzer) on X

1 min read Original article ↗
  • user avatar

    🤯I just had GPT-3 write me a JavaScript function that lets me call GPT-3 from a Google Sheets script and it works! I mean...I don't write code! Even had to ask GPT-3 what language the convoluted example was I had pulled from elsewhere 😅

  • user avatar

    step by step: 1. open g sheet, go to extensions > apps script 2. in script, paste this code (any & all bugs / bad things courtesy of GPT-3) justpaste.it/9mh50 - paste your API key in there 3. save script, reload sheet 4. select prompt cell & run via new nav item - boom!

    user avatar

    UPDATE! I got GPT-3 to write me a more general purpose version of this which lets you run a function: "gpt3(PromptCell)" anywhere. PromptCell = cell with ur prompt. Here's the sheet - make a local copy, then paste your own API key - use at own risk! docs.google.com/spreadsheets/d…

  • user avatar

    Try copy-pasting some code in practically any programming language with the prefix "Explain following code in English:" and a couple of linefeeds before the actual code. It does surprisingly well even with complex code! (And I write software for living.)