How to Build an AI Blog Content Generator with GPT 3 (or ChatGPT) + Google Sheets and Docs

Поділитися
Вставка
  • Опубліковано 24 жов 2024

КОМЕНТАРІ • 34

  • @RockTrembath
    @RockTrembath  Рік тому

    Upgrade your blog content generator to use ChatGPT! Get the code here: ua-cam.com/video/Z0sL2io9CEc/v-deo.html

  • @jamesrogers2680
    @jamesrogers2680 Рік тому

    Great vid Rock! Good production values, particularly the audio quality/easter eggs!
    I am the value!

  • @TharinduGunawardana
    @TharinduGunawardana Рік тому

    Another great video Rock

  • @ABITATco
    @ABITATco Рік тому +1

    This was very easy to follow and super easy to implement. However when I requested an article to be 750 words the results it generated in the body were incomplete. Are there limitations in terms of the length of texts in the code?

    • @RockTrembath
      @RockTrembath  Рік тому +1

      Yes - in the App Script there is a constant variable named MAX_TOKENS
      You can try increasing the amount of tokens to process. The max gpt 3.5 is 4096.

    • @ABITATco
      @ABITATco Рік тому

      @@RockTrembath Got it- Thanks

  • @1seliger
    @1seliger Рік тому

    BIG THANKS, BRO!

  • @pvic6959
    @pvic6959 Рік тому +1

    I also believe you can just copy the values in google sheets so you dont have to do all that. I have a sheet in which a function generates some numbers. If I want to copy it anywhere, all I have to do is control-C. But to paste just the values in sheets, I have to control-shift-V

    • @RockTrembath
      @RockTrembath  Рік тому

      Yep, the Paste Values only Command will allow you to move the text generated. Works good for a single cell. In this case I want both columns.

    • @pvic6959
      @pvic6959 Рік тому

      @@RockTrembath I think you can do entire columns as well. But I'd have to to test it as well. Im also not doing a great job explaining haha. In either case, what you showed worked anyway! And can be fully automated to generate dozens if not 1000s of results

  • @jobelab
    @jobelab Рік тому

    was following along but couldn't complete cause I have ChatGPT plus subscription and not chatgpt thru OpenAI, which is a separate bill. Gonna try to add ChatGPt add on instead to Google Docs/sheets instead.

  • @ICDigital-e9m
    @ICDigital-e9m 8 місяців тому

    Brilliant! Is there a way to get it to work with GPT4?

    • @RockTrembath
      @RockTrembath  8 місяців тому +1

      Yep - use the most recent version of the AppScript
      github.com/rocktrembath/chatGPT-google-sheets/blob/main/appscript

  • @chanakanb.6153
    @chanakanb.6153 Рік тому

    love it ! thanks🙏

  • @joshuadharman
    @joshuadharman Рік тому +1

    For some reason the menu function isn't showing up.. any ideas?
    **update.. i see the menu but also this error: "TypeError: Cannot read properties of null (reading 'getDataRange')Details
    "

    • @RockTrembath
      @RockTrembath  Рік тому

      Does your sheet have a name other than the default?
      You'd need to change where it says Sheet 1
      // Select Sheet to Turn into Document - Make sure the name below matches your document
      var dataSheet = mySheet.getSheetByName('Sheet1');

    • @ba_ov
      @ba_ov Рік тому

      @@RockTrembath same thing. Name is correct. Is it any other way to fix it?

    • @RockTrembath
      @RockTrembath  Рік тому

      @@ba_ov I can't replicate this error. If you want to share your sheet with safetoshareonline@gmail.com I'll take a look at it later. Make sure it has Editor access

  • @p.khachatryan6299
    @p.khachatryan6299 Рік тому

    Awesome video 👏

  • @rajsalhan3820
    @rajsalhan3820 Рік тому

    Hi Rock,
    Thanks for all your good work :)
    I ahve foolwed your instructions, but keeop geeting the an error message at the body stage. Ive entered the coomand below, do you know what I'm doing wrong?
    =AI(As an engaging blog writer, you are creating a blog about "&E1&", extend the text:"&E3&.")
    Thanks.

    • @RockTrembath
      @RockTrembath  Рік тому +1

      Hey Raj - it looks as though you're missing a few quotes.
      Your prompt should be inside the quotes, and your references should not be. Try this:
      =AI("As an engaging blog writer, you are creating a blog about "&E1&", extend the text: "&E3&".")

  • @alpineai
    @alpineai Рік тому +1

    Depending on the chatgpt prompt, it's not unfair to assume you can pull in factual data right????

    • @RockTrembath
      @RockTrembath  Рік тому +2

      Yeah. It's generally decent. I'm just not taking any responsibility for saying that it's correct 🙂

  • @markusw.8978
    @markusw.8978 Рік тому

    Hi. Awesome video! Thx for that!
    I got an error when trying to save to document:
    Exception: Die Parameter (number[]) entsprechen nicht der Methodensignatur für DocumentApp.Body.appendTable.
    Or in englisch it should be: The parameters (number[]) don't match the method signature for DocumentApp.Body.appendTable.
    and cannot fix it.. what could be wrong?

    • @RockTrembath
      @RockTrembath  Рік тому +1

      I've put the script on a test sheet and tried breaking it. I can't reproduce this error.
      Check that the name of your sheet matches the variable dataSheet set on line 24.
      When I google it I see that error is associated with arrays, the script is expecting 2 or more columns of data, so that could be another potential issue.

  • @TharinduGunawardana
    @TharinduGunawardana Рік тому

    Can we also check how we can use this to URL Mapping for website migration if possible

    • @RockTrembath
      @RockTrembath  Рік тому

      I'm not sure I understand the question. What Url do you want to map?

    • @TharinduGunawardana
      @TharinduGunawardana Рік тому

      @@RockTrembath Let say, that we are moving from the old domain to the new domain. When we do SEO migration, we have to map URLs manually one to one.
      We can ask ChatGPT to map old URLs to new URLs based on the most relevant NLP entity. It can be done
      Still not sure how to add to Google Sheet and ask to analyse many URLs in bulk and mapp each other

  • @winfriedwengenroth
    @winfriedwengenroth Рік тому

    WOW ⭐🚀⭐🚀⭐ (German) Du bist Weltklasse. Bewusst schreibe ich Dir in Deutsch, auch wenn ich perfekt Englisch kann. Also Du bist ein ChatGPT Rockstar! Es gefällt mir extrem gut. Heute habe ich erst dein anderes Video gesehen ua-cam.com/video/C-gFZZWw-DQ/v-deo.html Das war schon sehr cool, aber mir fehlten die wichtigen Informationen, wie man es nach der Einrichtung dann auch tatsächlich effektiv anwendet, doch in diesem Tutorial zeigst Du es. Super klasse. Zudem mag ich Deinen Style. Du bist so schön entspannt! Wären doch früher so meine Lehrer gewesen :) dankeschön !!!

    • @RockTrembath
      @RockTrembath  Рік тому

      Check out my new video - I've made the template available for you to copy and edit as well:
      ua-cam.com/video/V5_T0c17VaI/v-deo.html

  • @andrewlawson8233
    @andrewlawson8233 Рік тому

    "Export generate text to a Google Doc" function not working for me. I.e I don't see the "Workflow Tools" menu. Anyone else had this problem and if so how did you fix?

    • @RockTrembath
      @RockTrembath  Рік тому

      Did you authorize the script?
      Open the app script window and hit the Run button at the top. It should prompt you to give it access to the document.
      Are you receiving an error message?

    • @lindsayricci8048
      @lindsayricci8048 Рік тому

      great video! Really appreciate the content. I am receiving the same issue where the workflow tools does not appear at the top. However i can run it directly from the code window when I press run and it work just fine. When I did press run from app script directly it asked me to authorize, which I did and like I said it worked, but I still don’t have the workflow tools tab at the top of the google sheet. Any idea how to get that going?

    • @RockTrembath
      @RockTrembath  Рік тому

      @@lindsayricci8048 Once you save the code in the App script Window, you need to reload the spreadsheet for it to pick it up. Once you reload the page/sheet it should pop up on the left of the menu bar. Takes ~3-5 seconds sometimes.