static_content in [aicontent] for API
Hello.
You recently applied an update that included "static_content" inside the "seed_expre" which serves to prevent the content from being replicated every time the page loads. Simply brilliant!
I have tried to apply this same rule in the shortcode: [aicontent static_content="off"]Your Prompt[/aicontent] but without results. It would be very interesting and useful for me if [aicontent] could have this property. I currently use this shortcode because it allows me to insert dynamic content instructions inside the prompt. Check out an implemented example that works:
""<?php
// Get the model data with the model_data shortcode
$model_data = do_shortcode('[model_data]');
// Build the aicontent shortcode with the already parsed model_data
$ai_shortcode = '[aicontent type="text" model="gpt-3.5-turbo-1106" static_content="on" ]' . $model_data . 'This is all the data that a user of our website has uploaded to their profile. Use the content of this data to create another unique, detailed and explicit SEO description for this cam model using the data included. You must use each and every piece of data extracted in your description. Make sure the text is over 300 words and is structured in several paragraphs. Avoid clinical or overly polite terms and reflect the cheeky tone.[/aicontent]';
// Run the resulting shortcode
echo do_shortcode($ai_shortcode);
?>""
As you can see, the value "' . $model_data . ' " adds dynamic content that, using a function created by me, collects from a .json url API a multitude of data on a specific topic that changes according to parameters (it will never be the same content). In this way, each content generated by Aiomatics will be unique and genuine based on real data for each page or author and the AI will have more varied data to work with.
The only problem I have is that it prints the data "over and over" spending a lot of tokens. Keep in mind that the code will go on each page.
Now my request:
Would it be possible to add "static_content" to the [aicontent] shortcode in the near future?
Thank you very much for your attention. Good job! Regards.