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 8 replies, 2 voices, and was last updated 9 months ago by Szabi – CodeRevolution.
-
AuthorPosts
-
-
February 21, 2024 at 10:23 am #9919
Hi, this is for the plugin Yummomatic, but there is no forum category, so I post here under Recipeomatic Support.
I want to generate the featured image with AI.
I also bought the Aiomatic plugin and I see I can use the shortcode: [aicontent]
I was thinking on doing something like:
[aicontent model=”image-dall-e-3″]Create an image for a cooking recipe, specifically for a recipe titled: “%%item_title%%”[/aicontent]
But where should I put this?
Please enable the option to generate the featured image with AI, and write my own prompt.
-
February 21, 2024 at 12:52 pm #9920
Hello,
First of all, thank you for your purchase.
Yes, you can generate the featured image automatically using AI, however, for this, you will need to use the ‘AI Content Editor’ menu (not shortcodes).
To do this, please go the the ‘AI Content Editor’ menu of the plugin -> ‘Editing Templates and Options’ tab -> set the ‘AI Featured Image Options’ section to Enabled -> configure the prompt in the ‘Prompt To Send To The AI Image Generator’ settings field.
Now you can opt to automatically edit newly published recipes or automatically edit existing recipes and add images to them. Please check these videos for details on these 2 options:
Automatic editing newly published content: https://www.youtube.com/watch?v=nmuS2MeJrpk
Existing content editing: https://www.youtube.com/watch?v=33lB-ddmNGM
Regards, Szabi – CodeRevolution.
-
February 21, 2024 at 6:14 pm #9925
Interesting, I have tested and for about 15 seconds I was extremely happy. The feature you showed me could be extremely useful for me.
Your instructions work BUT:
1. There is no option to generate/replace the excerpt. Yummomatic generates the excerpt by simply copying first X characters, and that is ugly and not SEO friendly. (btw I marked the checkbox to “Disable Post Excerpt” in Yummomatic Settings but it still fills the excerpt)
2. Yummomatic returns a status error when running the rule, wich then executes this query:
It was running well until it reached offset 28. I look on all logs, even on php side, and there is no error related, but if I disable “Automatic Content Editing/Posts Automatic Editing”, in Aiomatic, it runs ok with no error. I turn it ON and status is error. Like with other errors, there is no useful information in logs.
I increased PHP execution time, memory and basically tried running it with little to no restriction and it stills fails.
The thing is I run “AI Content Editor” manually (when editing the post, and in bulk with “Existing Content Editor”) and it runs ok. It only fails when is generating a new post. So there must be some incompatibility betwen Aiomatic and Yummomatic.
On “Editing Templates and Options” I only activated:
– “AI Generated Featured Image” -> it works as expected
– “AI Content Completition” -> AI Model: gpt-4-preview -> Append to the end -> the problem is the prompt is modified, and my original prompt is not 100% followed. It would be a great improvement to show in logs ALL the prompts sent to OpenAI, exactly the way they are sent. I tested my prompt 100 times making manual requests to the API and response is always exactly as expected, but your plugin modifies the prompt. Basically the length is 3-4 times longer then specified in the prompt. It returns text of almost 3k characters length when I request it to be of 900 characters. And OpenAI tends to make it always shorter, not longer, and definitely not by so much difference.
-
February 21, 2024 at 6:36 pm #9927
I just found where the Excerpt can be generated by AI, and like always there must always be a “BUT”. This is what instructions say for:
“Instructions to Send For the AI Editor (Content Editing):
Instruction for the AI editor, to edit post excerpt. Please specify your instruction without adding the %%post_excerpt%% shortcode, as the excerpt will be automatically added at processing time.”
This means plugin will waste my tokens by always sending %%post_excerpt%% even if I want the excerpt to be completely rewritten ignoring current excerpt. Interesting.
-
February 21, 2024 at 7:57 pm #9933
Hello,
1. If you check the “Disable Post Excerpt” settings in Yummomatic, the posts will not have an excerpt. What you see in the front end, is an auto generated excerpt coming from WordPress (if excerpt is empty, it will auto generated it based on the content). Because of this, the AI Content Editor will not get additional usage from the excerpt, as they will be empty on posts (auto generation of excerpt in WordPress happens only on the front end).
To display full logs with prompts, please go to Aiomatic plugin’s ‘Main Settings’ menu -> ‘General Settings’ tab -> check the ‘Enable Detailed Logging for Rules’ checkbox -> save settings.
Regarding Yummomatic failure, please check the ‘Enable Detailed Logging for Rules’ checkbox for Yummomatic also, run importing again -> check logs in the plugin’s ‘Activity and Logging’ menu, more info of the failure should be seen there.
Regards.
-
February 22, 2024 at 9:04 am #9937
Thank you for your answer.
Detailed logging already enabled.
Now, adding to the problems with the Excerpt prompt being forcefully wasting tokens, and the AI Content Completition generating 3-4 times more text then requested, and that I can’t activate Automatic Content Editing because import rule fails, is the fact that I setup the import rule to run every hour, but it runs only every 2 hours.
My server cron runs every 30 minutes.
At least I can run the Existing Content Editor and it does the job.
-
February 22, 2024 at 2:20 pm #9943
Have you disabled wp_cron and replaced it with a server side cron?
If you don’t know how to make these changes, please contact your hosting provider’s support and ask them to fix wp_cron for your server.
After this is fixed, the plugin will be able to run automatically without issues, as it is using the wp_cron system for the scheduling part, which will be replaced with the server side cron, which is much more trustworthy.I hope this helps. -
February 22, 2024 at 3:41 pm #9950
Yes, wp_cron disabled, replaced by server cron. That’s why I specified that my server cron runs every 30 minutes.
The cron runs ok. Other tasks in other plugins work fine.
-
February 22, 2024 at 7:01 pm #9952
Hello,
Can you send me, please, temporary admin login credentials to your WordPress install, so I can check this issue out? Send it, please, to my email address: kisded@yahoo.com
Regards, Szabi – CodeRevolution.
-
-
AuthorPosts
The topic ‘Yummomatic – Generated featured image with AI’ is closed to new replies.