AI AI Internet Access not working + questions

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 7 replies, 2 voices, and was last updated 10 months, 2 weeks ago by fkoomek.

Viewing 7 reply threads
  • Author
    Posts
    • #9561


      fkoomek
      Participant
      Post count: 8

      Hello!
      I have a few questions.

      1.
      I just can’t make AI Internet Access work. I already posted some comments on YouTube a few days ago.
      I followed the tutorial and enabled AI internet access but it seems it doesn’t work. When I try to do your example with the Turkey earthquake in the AI playground, AI always says that as an AI model, it doesn’t have the current information. Do I need any API to make this work? Thanks.

      2.
      I use a lot of AI writer shortcodes in Gutenberg and was wondering if you are planning to do a function that your plugin would execute the AI prompts somehow gradually to avoid a long execution time. I noticed that now the execution of prompts starts as soon as I click on save post/publish. If it’s too long I get an error.

      3.
      I am looking for a way how to search and replace all specific words in AI writer blocks (prompt field) in Gutenberg. Just when I would like to generate content about another topic, I would replace all specific words in the prompt fields at once. I was trying to do my own solution with jQuery but every time I replace the desired keywords and click save post, the changes are reverted and the original content is brought back. I found a solution using the Search and Replace Google Chrome extension and it works correctly but was wondering if you would know how to achieve this with my own solution.

      Thanks.
      Radan

    • #9562


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      1. To enable internet access, please add your Google SERP API key in plugin settings, as shown here: https://www.youtube.com/watch?v=gmfsSYl0FyA

      2. This is a WordPress limitation, it is on my todo list, but currently I don’t have a solution, as it is WordPress related. Will need to think on alternative methods.

      3. Well, based on your description, you would need a custom plugin which would be able to add this functionality to your Gutenberg editor. Otherwise, this will not be possible. I suggest hiring a freelancer for this job.

      Regards, Szabi – CodeRevolution.

    • #9563


      fkoomek
      Participant
      Post count: 8

      Thank you for your answers!
      So, what you’re saying in the tutorial that if you don’t paste Google SERP API, the plugin will use Bing for searching is not relevant anymore?

    • #9566


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Yes, Bing is used by default, which is not reliable, they can block access from your server, case in which the Internet search feature will not work.

      Regards.

    • #9614


      fkoomek
      Participant
      Post count: 8

      Hello!
      So, I create my own custom solution that works with Ajax and generate the AI blocks gradually. I have still some things I would like to resolve and have a question.

      When opening a page where I have inserted shortcodes, it seems that an action is run and the blocks are being generated through AI by that time.
      Is it possible to turn off the action that causes the blocks to be generated when opening the post?

      The second solution for me would be to extend the lifetime of transients set by your blocks. I noticed that even if I set the lifetime of transients in your blocks for 1 year (which is what I want), the transients have max. 1month lifetime.
      Thanks.

      Radan

    • #9616


      fkoomek
      Participant
      Post count: 8

      Sorry, I just checked once again and the transients are only stored for 1 month when the AI connection fails, so it’s ok. Anyway, my first question is still relevant:

      “When opening a page where I have inserted shortcodes, it seems that an action is run and the blocks are being generated through AI by that time.
      Is it possible to turn off the action that causes the blocks to be generated when opening the post?”

      Thanks.

    • #9621


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      I am sorry, but Gutenberg executes shortcodes in the editor, this is hardcoded in its code. Unfortunately, it cannot be changed. Sorry for this.

    • #9625


      fkoomek
      Participant
      Post count: 8

      Ok.
      Thanks for the explanation.

      Radan

Viewing 7 reply threads

The topic ‘AI AI Internet Access not working + questions’ is closed to new replies.